From 2db941a0f3e93be257a673a9400d90ba4a2b2711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sun, 3 Aug 2014 13:09:32 -0300 Subject: python2-pyicu: add new package to [pcr] --- pcr/python2-pyicu/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/python2-pyicu/PKGBUILD (limited to 'pcr') diff --git a/pcr/python2-pyicu/PKGBUILD b/pcr/python2-pyicu/PKGBUILD new file mode 100644 index 000000000..bb3170db9 --- /dev/null +++ b/pcr/python2-pyicu/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer (Arch): Jonathan Liu +pkgname=python2-pyicu +_realpkgname=PyICU +pkgver=1.7 +pkgrel=1 +pkgdesc="Python binding for ICU" +arch=('i686' 'x86_64') +url="http://pyicu.osafoundation.org/" +license=('custom') +depends=('python2' 'icu') +source=("http://pypi.python.org/packages/source/P/${_realpkgname}/${_realpkgname}-${pkgver}.tar.gz") +md5sums=('f247fcaccdf601121a2eb81b391ba939') + +build() { + cd "${srcdir}/${_realpkgname}-${pkgver}" + python2 setup.py build +} + +package() { + cd "${srcdir}/${_realpkgname}-${pkgver}" + python2 setup.py install --root "${pkgdir}" -O1 + install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -D -m644 "${srcdir}/${_realpkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-2-g168b