summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJan Holthuis2016-01-11 19:27:50 +0100
committerJan Holthuis2016-01-11 19:27:50 +0100
commita0b024db25416b2712c8267a8f233ecc6f15e734 (patch)
tree29f92271524ca79fd0a4487a1b03ca33acf07a70 /PKGBUILD
downloadaur-python2-mstranslator.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a6156bddee7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>
+
+pkgname=python2-mstranslator
+_pypiname=mstranslator
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="Microsoft Translator API wrapper"
+arch=('any')
+url="https://github.com/wronglink/mstranslator"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/source/m/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
+md5sums=('9f45698dbf06a6ccb2a85efc48e0726e')
+
+package() {
+ cd "$srcdir/$_pypiname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}