diff options
author | éclairevoyant | 2022-12-11 07:15:44 -0500 |
---|---|---|
committer | éclairevoyant | 2022-12-11 07:15:44 -0500 |
commit | 5ed139ad245777a31bf97ed622b1dc2423ea9048 (patch) | |
tree | 7f09f3ee21d83fea5b8b2974185fedb4a1b79d49 /PKGBUILD | |
parent | b6d7cb93b2f6233b7b265c7bec893a3a2b66c6bb (diff) | |
download | aur-5ed139ad245777a31bf97ed622b1dc2423ea9048.tar.gz |
ly: fix for file protocol submodules
fix backup, conflicts
add .gitignore
Signed-off-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 19 insertions, 18 deletions
@@ -1,42 +1,43 @@ -# Maintainer: nullgemm <nullgemm@mailbox.org> +# Maintainer: éclairevoyant +# Contributor: nullgemm <nullgemm@mailbox.org> + pkgname=ly pkgver=0.5.3 -pkgrel=0 +pkgrel=2 pkgdesc="TUI display manager" arch=('i686' 'x86_64' 'aarch64') -url="https://github.com/nullgemm/ly" +url="https://github.com/fairyglade/$pkgname" license=('custom:WTFPL') makedepends=('git') depends=('pam' 'xorg-xauth') -conflicts=('ly-git' 'python-ly-git') -backup=('etc/ly/config.ini') -source=("git+https://github.com/nullgemm/${pkgname}.git#tag=v${pkgver}" +conflicts=('python-ly') # TODO prevent this +backup=(etc/$pkgname/{config.ini,wsetup.sh,xsetup.sh}) +source=("git+$url.git#tag=v$pkgver" "git+https://github.com/nullgemm/argoat.git" "git+https://github.com/nullgemm/configator.git" "git+https://github.com/nullgemm/dragonfail.git" "git+https://github.com/nullgemm/termbox_next.git") -sha256sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP') +b2sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') prepare() { - cd "$srcdir/$pkgname" + cd $pkgname git submodule init for _i in argoat configator dragonfail termbox_next; do - git config submodule.sub/${_i}.url $srcdir/${_i} + git config submodule.sub/$_i.url "$srcdir/$_i" done - git submodule update + git -c protocol.file.allow=always submodule update } build() { - cd "$srcdir/$pkgname" - make + make -C $pkgname } package() { - cd "$srcdir/$pkgname" + cd $pkgname make DESTDIR="$pkgdir" install - install -Dm644 license.md "${pkgdir}/usr/share/licenses/${pkgname}/WTFPL" + install -Dm644 license.md "$pkgdir/usr/share/licenses/$pkgname/WTFPL" } |