seems some files were moved to better fit in with the unix hierarchy, here is the new patch
--- PKGBUILD 2022-06-17 20:54:54.753995884 -0400
+++ PKGBUILD-new 2022-06-21 14:33:34.435188392 -0400
@@ -1,7 +1,6 @@
# Maintainer: Mark Kostovetskyy <mark at sgtxd dot de >
pkgname='ani-cli-git'
-_pkgname='ani-cli'
-pkgver=r481.1e97d1f
+pkgver=r557.7154cea
pkgrel=1
pkgdesc="A cli to browse and watch anime. (development version)"
arch=('any')
@@ -17,11 +16,13 @@
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/${_pkgname}"
+ cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- cd "$srcdir/${_pkgname%-VCS}"
- install -Dm755 ./ani-cli "$pkgdir/usr/bin/ani-cli"
+ cd "$srcdir/${pkgname%-git}"
+ install -d "$pkgdir/usr/lib/"
+ install -Dm755 "bin/ani-cli" "$pkgdir/usr/bin/ani-cli"
+ cp -rf "lib/ani-cli" "$pkgdir/usr/lib/"
}
Pinned Comments
sgtxd commented on 2021-12-06 15:11 (UTC) (edited on 2021-12-06 15:16 (UTC) by sgtxd)
As far as i know AUR helpers don't update development (-git) packages automatically.
To update development packages with yay you need to run
yay -Syu --devel
, and to have yay do this automatically without--devel
you would need to runyay -Syu --devel --save
once.Please check your AUR helper documentation, as some people have opened issues on the github which have already been fixed.