summaryrefslogtreecommitdiff
path: root/community/libunibreak
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-22 01:11:27 -0700
committerroot <root@rshg054.dnsready.net>2013-10-22 01:11:27 -0700
commitd5839dd449651d7781de570240f3d0a1a9162320 (patch)
tree59a51057ead59eda118056ff05b1e2b941fa356b /community/libunibreak
parent61f20cbeb90ac877764e14b7c4e1c5c08b3e5383 (diff)
Tue Oct 22 01:11:15 PDT 2013
Diffstat (limited to 'community/libunibreak')
-rw-r--r--community/libunibreak/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/libunibreak/PKGBUILD b/community/libunibreak/PKGBUILD
new file mode 100644
index 000000000..8c8623f9a
--- /dev/null
+++ b/community/libunibreak/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 83714 2013-02-04 16:20:13Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Orivej Desh <smpuj@bk.ru>
+
+pkgname=libunibreak
+pkgver=1.1
+pkgrel=1
+pkgdesc="An implementation of the line breaking algorithm as described in Unicode 5.2.0 Standard Annex 14, Revision 24"
+arch=("i686" "x86_64")
+url="http://vimgadgets.sourceforge.net/libunibreak/"
+license=("custom:zlib/libpng")
+depends=("glibc")
+makedepends=()
+replaces=('liblinebreak')
+options=("!libtool")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/adah1972/libunibreak/archive/libunibreak_${pkgver//./_}.tar.gz")
+md5sums=('80c933a03493bd920553c9380aa7f13d')
+
+build() {
+ cd "$srcdir/libunibreak-libunibreak_${pkgver//./_}"
+ ./bootstrap
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/libunibreak-libunibreak_${pkgver//./_}"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}