summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f54fcbad74d6c929e58a3bc833e98b5ff61c1956 (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
# Maintainer: intothegnu <intothegnu@protonmail.com>

pkgname="nyaash"
pkgver="1.5.0"
pkgrel="1"
pkgdesc="Simple POSIX shell script to query Nyaa instances."
arch=('any')
depends=('lynx' 'curl')
optdepends=('noto-fonts-cjk: chinese, japanese, and korean characters' 'dmenu: dmenu_nyaash gui')
license=('GPL')
url="https://notabug.org/BezierQuadratic/nyaash"
source=("https://notabug.org/BezierQuadratic/nyaash/archive/$pkgver.tar.gz")
md5sums=('c489447918b585bd0b4a944c9968ac8e')
package(){
	mkdir -p $pkgdir/usr/bin
	mkdir -p $pkgdir/usr/share/doc/nyaash
	mkdir -p $pkgdir/usr/share/man/man1
	cp -p $srcdir/nyaash/nyaa.sh $pkgdir/usr/bin/nyaash
	cp -p $srcdir/nyaash/dmenu_nyaa.sh $pkgdir/usr/bin/dmenu_nyaash
	cp -p $srcdir/nyaash/LICENSE $pkgdir/usr/share/doc/nyaash/LICENSE
	cp -p $srcdir/nyaash/README.md $pkgdir/usr/share/doc/nyaash/README.md
	gzip $srcdir/nyaash/man/nyaash
	cp -p $srcdir/nyaash/man/nyaash.gz $pkgdir/usr/share/man/man1/nyaash.1.gz
	gzip $srcdir/nyaash/man/dmenu_nyaash
	cp -p $srcdir/nyaash/man/dmenu_nyaash.gz $pkgdir/usr/share/man/man1/dmenu_nyaash.1.gz
}