26 lines
868 B
Bash
26 lines
868 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=libunibreak
|
|
pkgver=5.0
|
|
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='https://github.com/adah1972/libunibreak/'
|
|
license=('zlib')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/adah1972/libunibreak/archive/libunibreak_${pkgver//./_}.tar.gz")
|
|
sha512sums=('909c12cf5df92f0374050fc7a0ef9e91bc1efe6a5dc5a80f4e2c81a507f1228ecaba417c3ee001e11b2422024bea68cc14eb66e08360ae69f830cdaa18764484')
|
|
|
|
build() {
|
|
cd "$srcdir/libunibreak-libunibreak_${pkgver//./_}"
|
|
./bootstrap
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/libunibreak-libunibreak_${pkgver//./_}"
|
|
make DESTDIR="$pkgdir" install
|
|
rm -f "$pkgdir"/usr/lib/*.a
|
|
install -Dm644 LICENCE -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|