-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathPKGBUILD
More file actions
31 lines (27 loc) · 712 Bytes
/
PKGBUILD
File metadata and controls
31 lines (27 loc) · 712 Bytes
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
27
28
29
30
31
# 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+https://github.com/m13253/danmaku2ass.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/danmaku2ass"
git log -1 --format="%cd" --date=short | tr -d -
}
build() {
cd "$srcdir/danmaku2ass"
make
}
package() {
cd "$srcdir/danmaku2ass"
make install DESTDIR="$pkgdir" PREFIX=/usr
}