summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9dcb0bc3884b266ba8c4bca9145b4189d76ae1d9 (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
# Maintainer: Jaume Delclòs <jaume@delclos.com>
pkgname=neet-git
pkgver=r63.87d4719
pkgrel=1
pkgdesc="A script to easily play and manage your anime/drama/series"
arch=(any)
url="https://github.com/onodera-punpun/neet"
license=('GPL')
depends=(fish )
makedepends=('git')
optdepends=('mpv: default media player')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('neet::git+https://github.com/onodera-punpun/neet.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/" install
}