diff options
author | Ryan Gonzalez | 2018-03-14 15:45:35 -0500 |
---|---|---|
committer | Ryan Gonzalez | 2018-03-14 15:46:25 -0500 |
commit | 802f05100349ebeab479262d02ef6ea0a271ae29 (patch) | |
tree | 77aa686ad4ef591136e8559d62243b8230e63973 | |
download | aur-802f05100349ebeab479262d02ef6ea0a271ae29.tar.gz |
Initial
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a848c64c1279 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = icu55-staticlibs + pkgdesc = International Components for Unicode library (static libraries only) + pkgver = 55.1 + pkgrel = 1 + url = http://www.icu-project.org/ + arch = i686 + arch = x86_64 + license = custom:"icu" + makedepends = clang + depends = gcc-libs>=4.7.1-5 + depends = sh + source = http://downloads.sourceforge.net/project/icu/ICU4C/55.1/icu4c-55_1-src.tgz + sha256sums = e16b22cbefdd354bec114541f7849a12f8fc2015320ca5282ee4fd787571457b + +pkgname = icu55-staticlibs + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f87201260251 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.tar.* +*.tgz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..69394fd4dc1e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Art Gramlich <art@gramlich-net.com> +# Contributor: twa022 <twa022 at gmail dot com> +# Contributor: Jameson Pugh <imntreal@gmail.com> +# Maintainer: Ryan Gonzalez <rymg19@gmail.com> + +_pkgname=icu +pkgname=${_pkgname}55-staticlibs +pkgver=55.1 +pkgrel=1 +pkgdesc="International Components for Unicode library (static libraries only)" +arch=('i686' 'x86_64') +url="http://www.icu-project.org/" +license=('custom:"icu"') +depends=('gcc-libs>=4.7.1-5' 'sh') +makedepends=('clang') +source=(http://downloads.sourceforge.net/project/icu/ICU4C/55.1/icu4c-55_1-src.tgz) +sha256sums=('e16b22cbefdd354bec114541f7849a12f8fc2015320ca5282ee4fd787571457b') + +build() { + cd ${srcdir}/${_pkgname}/source + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --enable-static + make +} + +package() { + cd ${srcdir}/${_pkgname}/source + make -j1 DESTDIR=${pkgdir} install + rm -r "${pkgdir}"/usr/{bin,include,sbin,share,lib/*so*,lib/icu} + rm -r "${pkgdir}/usr/lib/pkgconfig" + + # Install license + install -Dm644 ${srcdir}/${_pkgname}/license.html ${pkgdir}/usr/share/licenses/${pkgname}/license.html +} |