blob: c7f06a85b30f6ccd3af74d629277886931f53098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
pkgname=nyaa-bin
pkgver=0.9.1
pkgrel=2
pkgdesc="A tui tool for browsing and downloading torrents"
url='https://github.com/Beastwick18/nyaa/'
source_x86_64=("$pkgname-$pkgver::https://github.com/Beastwick18/nyaa/releases/download/v$pkgver/nyaa-$pkgver-x86_64-unknown-linux-gnu")
arch=('x86_64')
license=('GPL-3.0-or-later')
conflicts=('nyaa')
provides=('nyaa')
b2sums_x86_64=('be10dbbe428abba22d78c311a0737afe7a7614a2c438916e84ee691e5f7b007b8f8b34d679c20fd2abc28f722bb54080ed329a4082c898e794b314957e858f68')
package() {
cd "$srcdir/"
install -Dm755 "$pkgname-$pkgver" "${pkgdir}/usr/bin/nyaa"
# install -Dm644 man/nyaa.8 "$pkgdir/usr/share/man/man8/nyaa.8"
# install -Dm644 man/nyaa.conf.5 "$pkgdir/usr/share/man/man5/nyaa.conf.5"
# install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/nyaa.bash"
# install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/nyaa.fish"
# install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_nyaa"
# cp -r locale "$pkgdir/usr/share/"
}
|