commit e02a041e3525a5e0cb53040b4f88993bdd283ff9 parent c1df109a20e87b7f405a6186f35306266009c98d Author: grouse <bdmfegys@duck.com> Date: Wed, 6 Mar 2024 17:45:09 -0500 add unfinished PKGBUILD, ported from dwm aur package Diffstat:
| A | PKGBUILD | | | 25 | +++++++++++++++++++++++++ |
1 file changed, 25 insertions(+), 0 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Mrgrouse <mrgrouse at duck dot com> +pkgname=desuck-git +pkgver=r0 +pkgrel=2 +pkgdesc="desuck, a desktop environment* based on my forks of suckless utilities" +arch=('any') +url="https://git.tetraonini.online/grouse/desuck" +license=('MIT') +depends=('pacman>=4.1.2' 'git' 'libx11' 'libxinerama' 'libxft' 'freetype2') +replaces=('dwm') +conflicts=('dwm') + +# template input; name=git + +package() { + cd "$_gitname" + install -m644 -Dt "$pkgdir/usr/share/doc/$pkgname/" README.md PKGBUILD + local destdir="$pkgdir/usr/share/makepkg-template" + find -iname '*.template' -type f -exec install -m644 -Dt "$destdir" '{}' + + cd "$destdir" + for file in * + do + ln -s $file ${file%-*.template}.template + done +}