summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorS├ębastien Leduc2015-06-13 10:51:09 +0200
committerS├ębastien Leduc2015-06-13 10:51:09 +0200
commit44e086f1af007072e85c6acea3b9a3f25c10c417 (patch)
tree0030c9b05195c072de32c37cc73466d1664ac01d /PKGBUILD
downloadaur-python2-duckduckgo2.tar.gz
Initial import
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..b6a0ba0b19f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
+pkgname=python2-duckduckgo2
+_realname=duckduckgo2
+pkgver=0.242
+pkgrel=1
+pkgdesc="Library for querying the DuckDuckGo API"
+arch=("any")
+url="http://pypi.python.org/pypi/duckduckgo2"
+license=('BSD')
+depends=('python2')
+source=("http://pypi.python.org/packages/source/d/$_realname/$_realname-$pkgver.tar.gz")
+md5sums=('d9668a03c41a34d7a43275303172cc3e')
+
+package() {
+ cd "$srcdir/$_realname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: