diff options
author | Pierre-Gildas MILLON | 2017-10-17 16:52:56 +0200 |
---|---|---|
committer | Pierre-Gildas MILLON | 2017-10-17 16:52:56 +0200 |
commit | 2a4c969c17e10ed53cd6bea02f88bd968fcebafc (patch) | |
tree | 5961ee6e32310a791980facadcf0a4feb7281da8 | |
download | aur-python2-tld.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7058972945a9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Tue Oct 17 14:51:35 UTC 2017 +pkgbase = python2-tld + pkgdesc = Extracts the top level domain (TLD) from the URL given + pkgver = 0.7.9 + pkgrel = 1 + url = https://github.com/barseghyanartur/tld + arch = any + license = GPL + makedepends = python2-setuptools + depends = python2 + depends = python2-six + source = https://github.com/barseghyanartur/tld/archive/0.7.9.tar.gz + md5sums = 31df727ec2035dbaf0b1acd13b17dcc6 + +pkgname = python2-tld + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ac49e3a7ac06 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*.xz +*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..142ce2257669 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Pierre-Gildas MILLON <pgmillon@gmail.com> + +pkgname=python2-tld +pkgver=0.7.9 +pkgrel=1 +pkgdesc="Extracts the top level domain (TLD) from the URL given" +arch=('any') +url="https://github.com/barseghyanartur/tld" +license=('GPL') +depends=( + 'python2' + 'python2-six' + ) +makedepends=('python2-setuptools') +source=("https://github.com/barseghyanartur/tld/archive/$pkgver.tar.gz") +md5sums=('31df727ec2035dbaf0b1acd13b17dcc6') + +build() { + cd "${srcdir}/tld-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/tld-${pkgver}" + python2 setup.py install --root="${pkgdir}/" --optimize=1 +} |