diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4d7eca4775dc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-pycountry + pkgdesc = ISO country, subdivision, language, currency and script definitions and their translations + pkgver = 1.15 + pkgrel = 1 + url = https://pypi.python.org/pypi/pycountry/ + arch = i686 + arch = x86_64 + license = LGPL 2.1 + depends = python>=3.1 + provides = python-pycountry + conflicts = python-pycountry + source = https://pypi.python.org/packages/source/p/pycountry/pycountry-1.15.tar.gz + md5sums = aab287db70017fcaaefdabb6a95fa21d + +pkgname = python-pycountry + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0b4ae543cfef --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Florijan Hamzic <florijanh@gmail.com> + +_pkgname="python-pycountry" +pkgname="${_pkgname}" +pkgver=1.15 +pkgrel=1 +pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations" +arch=('i686' 'x86_64') +url="https://pypi.python.org/pypi/pycountry/" +license=('LGPL 2.1') +depends=('python>=3.1') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("https://pypi.python.org/packages/source/p/pycountry/pycountry-${pkgver}.tar.gz") +md5sums=('aab287db70017fcaaefdabb6a95fa21d') + +package() { + cd "${srcdir}/pycountry-${pkgver}" + + python setup.py install --root="$pkgdir" --prefix=/usr +} |