diff options
author | cubethethird | 2016-12-05 23:47:43 -0500 |
---|---|---|
committer | cubethethird | 2016-12-05 23:47:43 -0500 |
commit | ec6ef253d33c3d2c895ae97ff0228415f356357e (patch) | |
tree | ba1606c6e37b5fdb1c094d4e3c8bd5e9d0bc82d0 | |
download | aur-ec6ef253d33c3d2c895ae97ff0228415f356357e.tar.gz |
Initial PKGBUILD for the package.
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dfccbc414f5b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = icu57 + pkgdesc = International Components for Unicode library + pkgver = 57.1 + pkgrel = 1 + url = http://www.icu-project.org/ + arch = i686 + arch = x86_64 + license = custom:"icu" + depends = gcc-libs>=4.7.1-5 + source = http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz + sha256sums = ff8c67cb65949b1e7808f2359f2b80f722697048e90e7cfc382ec1fe229e9581 + +pkgname = icu57 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..59f21145d70c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: CubeTheThird <cubethethird@gmail.com> + +_pkgname=icu +pkgname=${_pkgname}57 +pkgver=57.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>=4.7.1-5') +source=(http://download.icu-project.org/files/${_pkgname}4c/${pkgver}/${_pkgname}4c-${pkgver//./_}-src.tgz) +sha256sums=('ff8c67cb65949b1e7808f2359f2b80f722697048e90e7cfc382ec1fe229e9581') + +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}} + rm -r "${pkgdir}/usr/lib/pkgconfig" + + # Install license + install -Dm644 ${srcdir}/${_pkgname}/license.html ${pkgdir}/usr/share/licenses/${pkgname}/license.html +} |