aboutsummaryrefslogtreecommitdiffstats
path: root/icu-48/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-01-29 16:16:22 +0100
committerMattias Andrée <maandree@operamail.com>2013-01-29 16:16:22 +0100
commitc8e8615bcc5dc912f2be6bb539fa6e952562fcd9 (patch)
tree35aa75f8903e71400364339001960320e61433f6 /icu-48/PKGBUILD
parentadd make dependency: pyqt (diff)
downloadaur-packages-c8e8615bcc5dc912f2be6bb539fa6e952562fcd9.tar.gz
aur-packages-c8e8615bcc5dc912f2be6bb539fa6e952562fcd9.tar.bz2
aur-packages-c8e8615bcc5dc912f2be6bb539fa6e952562fcd9.tar.xz
update xz-java
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'icu-48/PKGBUILD')
-rw-r--r--icu-48/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/icu-48/PKGBUILD b/icu-48/PKGBUILD
new file mode 100644
index 0000000..7b622e7
--- /dev/null
+++ b/icu-48/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Mattias Andrée
+# Original Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Original Contributor: Art Gramlich <art@gramlich-net.com>
+
+pkgname=icu-48
+_pkgname=icu
+pkgver=4.8.1.1
+pkgrel=1
+pkgdesc="International Components for Unicode library"
+arch=(i686 x86_64)
+url="http://www.icu-project.org/"
+license=('custom:"icu"')
+depends=('gcc-libs' 'sh')
+source=(#http://download.icu-project.org/files/${_pkgname}4c/${pkgver}/${_pkgname}4c-${pkgver/./_}-src.tgz
+ http://download.icu-project.org/files/${_pkgname}4c/${pkgver}/${_pkgname}4c-${pkgver//./_}-src.tgz
+ icu.8198.revert.icu5431.patch)
+md5sums=('ea93970a0275be6b42f56953cd332c17'
+ 'ebd5470fc969c75e52baf4af94a9ee82')
+
+build() {
+ cd "${srcdir}/icu/source"
+ # fix Malayalam encoding https://bugzilla.redhat.com/show_bug.cgi?id=654200
+ patch -Rp3 -i "${srcdir}/icu.8198.revert.icu5431.patch"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/icu/source
+ make -j1 DESTDIR="${pkgdir}" install
+
+ rm -r "${pkgdir}/usr/include/"
+ rm -r "${pkgdir}/usr/share/man/"
+ rm -r "${pkgdir}/usr/sbin/"
+ rm -r "${pkgdir}/usr/bin/"
+ rm -r "${pkgdir}/usr/lib/pkgconfig"
+ rm "${pkgdir}/usr/lib/icu/pkgdata.inc"
+ rm "${pkgdir}/usr/lib/icu/Makefile.inc"
+ rm "${pkgdir}/usr/lib/icu/current"
+ rm "${pkgdir}/usr/lib/"*.so
+}
+