diff options
author | Xyne | 2017-09-27 05:03:06 +0000 |
---|---|---|
committer | Xyne | 2017-09-27 05:03:06 +0000 |
commit | 49d38afc55968342833b559192badc40699e867c (patch) | |
tree | 4572b8ea087cd42085b86926b3847ba15c7cab84 | |
download | aur-49d38afc55968342833b559192badc40699e867c.tar.gz |
Initialized.
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7c8acb600ef8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Wed Sep 27 05:03:06 UTC 2017 +pkgbase = hapi + pkgdesc = Python library, command-line tools and server for annotating Chinese with phonetics and colors. + pkgver = 2017 + pkgrel = 1 + url = https://xyne.archlinux.ca/projects/hapi + arch = any + license = GPL + depends = python-lxml + depends = python3 + depends = python3-colorsysplus + depends = wget + optdepends = aria2: required for downloading audio files + source = https://xyne.archlinux.ca/projects/hapi/src/hapi-2017.tar.xz + source = https://xyne.archlinux.ca/projects/hapi/src/hapi-2017.tar.xz.sig + md5sums = cf96dd1f4eee7ab4af661b317dc1766f + md5sums = 114c400bf0b8813cc63cb8e29c909d79 + sha512sums = b9121fb749d15fcea94460d8e5062831735518f3f6d3389a06ed0016a7e62ff4dbad827f39031f935f5fa8517f527de5299224477ee6a5fff21fade49a50fe11 + sha512sums = 2a0be716ac6e761a20818ecbf0154127f98259fe7f7098e40ebdcc312ead7eaea04725da3a0b3b55e7d0160ba86e066fccfc90eaf8258fce29238f88414d0c42 + +pkgname = hapi + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8c3d83d4c68f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +#Maintainer: Xyne <ac xunilhcra enyx, backwards> +pkgname=hapi +pkgver=2017 +pkgrel=1 +pkgdesc='Python library, command-line tools and server for annotating Chinese with phonetics and colors.' +arch=(any) +license=(GPL) +url="https://xyne.archlinux.ca/projects/hapi" +depends=(python-lxml python3 python3-colorsysplus wget) +optdepends=('aria2: required for downloading audio files') +source=( + https://xyne.archlinux.ca/projects/hapi/src/hapi-2017.tar.xz + https://xyne.archlinux.ca/projects/hapi/src/hapi-2017.tar.xz.sig +) +sha512sums=( + b9121fb749d15fcea94460d8e5062831735518f3f6d3389a06ed0016a7e62ff4dbad827f39031f935f5fa8517f527de5299224477ee6a5fff21fade49a50fe11 + 2a0be716ac6e761a20818ecbf0154127f98259fe7f7098e40ebdcc312ead7eaea04725da3a0b3b55e7d0160ba86e066fccfc90eaf8258fce29238f88414d0c42 +) +md5sums=( + cf96dd1f4eee7ab4af661b317dc1766f + 114c400bf0b8813cc63cb8e29c909d79 +) +validpgpkeys=('EC3CBE7F607D11E663149E811D1F0DC78F173680') + +package () +{ + cd "$srcdir/$pkgname-$pkgver" + python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 + for script_ in hapi{,-srv,-download_data} + do + install -Dm755 "scripts/$script_" "$pkgdir/usr/bin/$script_" + done +} + +# vim: set ts=2 sw=2 et: |