summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0a01cc49835ace19f9083271e1aba64aaf8c078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
pkgname=python2-duckduckgo2
_realname=duckduckgo2
pkgver=0.242
pkgrel=2
pkgdesc="Library for querying the DuckDuckGo API"
arch=("any")
url="http://pypi.python.org/pypi/duckduckgo2"
license=('BSD')
depends=('python2')
source=("https://files.pythonhosted.org/packages/source/${_realname::1}/$_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: