summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-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: