diff options
author | Thomas Haider | 2015-06-18 18:58:53 +0200 |
---|---|---|
committer | Thomas Haider | 2015-06-18 18:58:53 +0200 |
commit | b7b30a43d1d16fa4d63217c9e75e5babbc6443fc (patch) | |
tree | 53f91df609f51f7b8765015bbee56aa5af6fa7e5 /PKGBUILD | |
download | aur-b7b30a43d1d16fa4d63217c9e75e5babbc6443fc.tar.gz |
import from old AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2be4f52be592 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Thomas Haider <t.haider@deprecate.de> +pkgname=python2-publicsuffix +pkgver=1.0.5 +pkgrel=2 +pkgdesc="Get a public suffix for a domain name using the Public Suffix List." +arch=('any') +url="https://pypi.python.org/pypi/publicsuffix" +license=('MIT') +depends=('python2') +source=("https://pypi.python.org/packages/source/p/publicsuffix/publicsuffix-${pkgver}.tar.gz") + +build() { + cd "publicsuffix-${pkgver}" + python2 setup.py build +} + +package() { + cd "publicsuffix-${pkgver}" + python2 setup.py install --root=$pkgdir --optimize=1 +} + +sha256sums=('7ad1bcd781909e99aa125e446141c89875038be9dd7734dd4dae4fd8f9389c66') |