summaryrefslogtreecommitdiff
path: root/community/libunibreak/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libunibreak/PKGBUILD')
-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"
+}