diff options
author | Jaroslav Lichtblau | 2015-08-29 20:44:51 +0200 |
---|---|---|
committer | Jaroslav Lichtblau | 2015-08-29 20:44:51 +0200 |
commit | da80af25c9223399ca276825135d54a25fe2518f (patch) | |
tree | d352d8b5172109956656f1bea6dea125b6c8dddd | |
download | aur-da80af25c9223399ca276825135d54a25fe2518f.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..119328201ded --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-ipify + pkgdesc = The official client library for ipify: A Simple IP Address API + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/rdegges/python-ipify + arch = any + license = custom + makedepends = python-setuptools + depends = python + source = python-ipify-1.0.0.tar.gz::https://github.com/rdegges/python-ipify/archive/1.0.0.tar.gz + md5sums = 7b9631a2b984e569613d0fdacbaa7930 + +pkgname = python-ipify + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f283a40a85e7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + +pkgname=python-ipify +pkgver=1.0.0 +pkgrel=1 +pkgdesc="The official client library for ipify: A Simple IP Address API" +arch=('any') +url="https://github.com/rdegges/python-ipify" +license=('custom') +depends=('python') +makedepends=('python-setuptools') +source=($pkgname-$pkgver.tar.gz::https://github.com/rdegges/$pkgname/archive/$pkgver.tar.gz) +md5sums=('7b9631a2b984e569613d0fdacbaa7930') + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + python setup.py install --root="${pkgdir}" --optimize=1 + +#license + install -Dm644 UNLICENSE "${pkgdir}"/usr/share/licenses/$pkgname/UNLICENSE +} |