diff options
author | maz-1 | 2015-10-25 02:47:52 +0800 |
---|---|---|
committer | maz-1 | 2015-10-25 02:47:52 +0800 |
commit | 20e2369fcae1180bee3c9c6e974711a091dc72f2 (patch) | |
tree | 6d0a3c74934584842802c0652bd4bcb8f1e103f4 /PKGBUILD | |
download | aur-danmu2ass.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c9ef3178e094 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer : maz-1 <loveayawaka at gmail dot com> + +pkgname=danmu2ass +pkgver=1.1 +pkgrel=1 +pkgdesc="Convert xml/json danmaku to ass subtitle. " +arch=('any') +url="http://danmu2ass.codeplex.com/" +license=('GPL2') +depends=('mono') +source=("Danmu2Ass1.1.zip::http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=danmu2ass&DownloadId=838758&FileTime=130441118278200000&Build=21031" + ) +md5sums=('75213f0147f708e617c79dca84d31aab') +noextract=Danmu2Ass1.1.zip + +build() { + true +} + +package() { + install -dm 755 "${pkgdir}/usr/"{share/danmu2ass,bin} + cd "${pkgdir}/usr/share/danmu2ass" + unzip "${srcdir}/Danmu2Ass1.1.zip" + echo '#!/bin/sh' > ${pkgdir}/usr/bin/danmu2ass + echo 'exec mono /usr/share/danmu2ass/Kaedei.Danmu2Ass.exe "$@"' >> ${pkgdir}/usr/bin/danmu2ass + chmod +x ${pkgdir}/usr/bin/danmu2ass +} + + |