summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTed Alff2015-07-28 19:44:42 -0400
committerTed Alff2015-07-28 19:44:42 -0400
commitde7d672c345a674b8bd56598643fb732e245d95e (patch)
treeeb5145159c2acfdfc6624a492a3f04919b1a41c2 /PKGBUILD
downloadaur-icu44.tar.gz
Initial AUR4 import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..08adccf85626
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Art Gramlich <art@gramlich-net.com>
+# Maintainer: twa022 <twa022 at gmail dot com>
+
+_pkgname=icu
+pkgname=${_pkgname}44
+pkgver=4.4.2
+pkgrel=1
+pkgdesc="International Components for Unicode library"
+arch=(i686 x86_64)
+url="http://www.icu-project.org/"
+license=('custom:"icu"')
+depends=('gcc-libs>=4.7.1-5' 'sh')
+source=(http://download.icu-project.org/files/${_pkgname}4c/${pkgver}/${_pkgname}4c-${pkgver//./_}-src.tgz)
+
+build() {
+ cd ${srcdir}/${_pkgname}/source
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}/source
+ make -j1 DESTDIR=${pkgdir} install
+ rm -r "${pkgdir}"/usr/{bin,include,sbin,share,lib/*so,lib/icu/{Makefile.inc,current,pkgdata.inc}}
+
+ # Install license
+ install -Dm644 ${srcdir}/${_pkgname}/license.html ${pkgdir}/usr/share/licenses/${pkgname}/license.html
+}
+
+sha256sums=('2ecefdfb134b5b364ed01c2f613a9ccb11489dbae5857d63cd17ba5b6caca789')