summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12019-04-13 23:07:06 +0800
committerChocobo12019-04-13 23:27:06 +0800
commit39c4e75d19ce524662d469406316f14d002600b0 (patch)
tree56cf6b21e57e433c5b3321ecd53acc185a5b9fc3
downloadaur-39c4e75d19ce524662d469406316f14d002600b0.tar.gz
newpkg: icu-git 64.2.rc.r29.gbe25c277fd-1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD46
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d40d95af52b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = icu-git
+ pkgdesc = International Components for Unicode library
+ pkgver = 64.2.rc.r29.gbe25c277fd
+ pkgrel = 1
+ url = http://site.icu-project.org/
+ arch = i686
+ arch = x86_64
+ license = custom:icu
+ makedepends = git
+ depends = glibc
+ depends = sh
+ provides = icu
+ conflicts = icu
+ source = git+https://github.com/unicode-org/icu.git
+ sha256sums = SKIP
+
+pkgname = icu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1bfdbecea12
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=icu-git
+pkgver=64.2.rc.r29.gbe25c277fd
+pkgrel=1
+pkgdesc="International Components for Unicode library"
+arch=('i686' 'x86_64')
+url="http://site.icu-project.org/"
+license=('custom:icu')
+depends=('glibc' 'sh')
+makedepends=('git')
+provides=('icu')
+conflicts=('icu')
+source=("git+https://github.com/unicode-org/icu.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "icu"
+
+ git describe --long --tags | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "icu/icu4c/source"
+
+ export CC=gcc CXX=g++
+ ./configure \
+ --prefix="/usr" \
+ --sbindir="/usr/bin" \
+ --sysconfdir="/etc"
+ make
+}
+
+check() {
+ cd "icu/icu4c/source"
+
+ make check
+}
+
+package() {
+ cd "icu/icu4c/source"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/icu/icu4c/LICENSE" "$pkgdir/usr/share/licenses/icu/LICENSE"
+}