summaryrefslogtreecommitdiff
path: root/pcr/python2-pyicu
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-03 13:09:32 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-03 13:09:32 -0300
commit2db941a0f3e93be257a673a9400d90ba4a2b2711 (patch)
treedab405353aec26c4de489f57b354bf0012f258e3 /pcr/python2-pyicu
parentaa8b031cba7eb281f9a8c09eeef5ca379f76343b (diff)
python2-pyicu: add new package to [pcr]
Diffstat (limited to 'pcr/python2-pyicu')
-rw-r--r--pcr/python2-pyicu/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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 <net147@gmail.com>
+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: