summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSimon Tas2018-06-07 02:48:05 +0200
committerSimon Tas2018-06-07 02:48:05 +0200
commit00ce3eb64bd0751631de7aadb8a9bb5f1e690e89 (patch)
tree5451eea7d90d37550644ef9e6c5f235a93523738 /PKGBUILD
downloadaur-00ce3eb64bd0751631de7aadb8a9bb5f1e690e89.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9d345ff94a6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+
+# Maintainer: Simon Tas <simon.tas.st@gmail.com>
+pkgname="python-romkan-git"
+_pkgname="python-romkan"
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="a Romaji/Kana conversion library for Python"
+arch=('any')
+url="https://github.com/soimort/python-romkan"
+license=('BSD')
+depends=('python')
+makedepends=('git')
+provides=('python-romkan')
+source=("git+https://github.com/soimort/${_pkgname}")
+md5sums=('SKIP')
+
+build() {
+ cd ${srcdir}/${_pkgname}
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}
+ rm -rf .git*
+
+ python setup.py install --root="${pkgdir}" --optimize=1
+
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+}