makedeb
A cli to browse and watch anime.
Click here to go back to the commit logs for ani-cli.
Hash: 84d349cfb43a748f39c9b43efcba9a91d6cebb95
Message: 4.0
diff --git a/.SRCINFO b/.SRCINFO
index fd9f88f..a648f79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = ani-cli
pkgbase = ani-cli
pkgdesc = A cli to browse and watch anime.
pkgrel = 0
-pkgver = 3.4
+pkgver = 4.0
url = https://github.com/pystardust/ani-cli
arch = all
depends = grep
@@ -14,10 +14,11 @@ depends = openssl
depends = mpv
depends = axel
depends = ffmpeg
+depends = wget2
license = GPL3
optdepends = vlc: An alternative video player
optdepends = fzf
-source = ani-cli-3.4.tar.gz::https://github.com/pystardust/ani-cli/archive/refs/tags/v3.4.tar.gz
-b2sums = 90991566bad96e70202226f267de0d96668d80e7970967383a7b9fbdba0057baf11bbed15822f652203c0bf66cdda7f8b75391ac570da6dbb0d9306fe4f58468
+source = ani-cli-4.0.tar.gz::https://github.com/pystardust/ani-cli/archive/refs/tags/v4.0.tar.gz
+b2sums = 0dabe50b90173f8afe228e467bd6e008777e78b16e9f0d38eee1379666ead263d6cf558b5bab56c3be4101ddc6fb63f980d6be3cb8e52af3bb62ee313193b3ea
optdepends = vlc: An alternative video player
optdepends = fzf
diff --git a/PKGBUILD b/PKGBUILD
index b1df6c4..8676269 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,21 @@
# Contributor: Mark (AUR) <mark at sgtxd dot de >
pkgname="ani-cli"
-pkgver=3.4
+pkgver=4.0
pkgrel=0
pkgdesc="A cli to browse and watch anime."
arch=('all')
url="https://github.com/pystardust/ani-cli"
license=('GPL3')
-depends=('grep' 'sed' 'awk' 'curl' 'openssl' 'mpv' 'axel' 'ffmpeg')
+depends=('grep' 'sed' 'awk' 'curl' 'openssl' 'mpv' 'axel' 'ffmpeg' 'wget2')
optdepends=('vlc: An alternative video player' 'fzf')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pystardust/ani-cli/archive/refs/tags/v${pkgver}.tar.gz")
-b2sums=('90991566bad96e70202226f267de0d96668d80e7970967383a7b9fbdba0057baf11bbed15822f652203c0bf66cdda7f8b75391ac570da6dbb0d9306fe4f58468')
+b2sums=('0dabe50b90173f8afe228e467bd6e008777e78b16e9f0d38eee1379666ead263d6cf558b5bab56c3be4101ddc6fb63f980d6be3cb8e52af3bb62ee313193b3ea')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's/wget/wget2/g' ani-cli
+}
package() {
cd "$srcdir/$pkgname-$pkgver"
@@ -19,5 +24,6 @@ package() {
install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
install -Dm644 "disclaimer.md" "$pkgdir/usr/share/doc/$pkgname/disclaimer"
- install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
+ install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
+ gzip "$pkgdir/usr/share/man/man1/$pkgname.1"
}