danmaku2ass/PKGBUILD

32 lines
706 B
Bash
Raw Permalink Normal View History

2013-10-01 08:56:07 +08:00
# PKGBUILD file for Arch Linux packaging
# Contributor: Star Brilliant <echo bTEzMjUzQGhvdG1haWwuY29tCg== | base64 -d>
pkgname=danmaku2ass-git
pkgver=0
pkgrel=1
pkgdesc="Convert comments from Niconico/AcFun/bilibili to ASS format"
arch=('any')
url="https://github.com/m13253/danmaku2ass"
license=('GPL3')
depends=('python>=3')
makedepends=('git')
provides=('danmaku2ass')
conflicts=('danmaku2ass')
source=('danmaku2ass::git://github.com/m13253/danmaku2ass.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/danmaku2ass"
git log -1 --format="%cd" --date=short | tr -d -
}
2016-08-24 21:49:54 +08:00
build() {
cd "$srcdir/danmaku2ass"
make
}
2013-10-01 08:56:07 +08:00
package() {
cd "$srcdir/danmaku2ass"
make install DESTDIR="$pkgdir" PREFIX=/usr
}