summarylogtreecommitdiffstats
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
downloadaur-44e086f1af007072e85c6acea3b9a3f25c10c417.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
2 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2aea044ae12
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = python2-duckduckgo2
+ pkgdesc = Library for querying the DuckDuckGo API
+ pkgver = 0.242
+ pkgrel = 1
+ url = http://pypi.python.org/pypi/duckduckgo2
+ arch = any
+ license = BSD
+ depends = python2
+ source = http://pypi.python.org/packages/source/d/duckduckgo2/duckduckgo2-0.242.tar.gz
+ md5sums = d9668a03c41a34d7a43275303172cc3e
+
+pkgname = python2-duckduckgo2
+
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: