summaryrefslogtreecommitdiff
path: root/community/liblinebreak/PKGBUILD
blob: d18340459edb12fd5ee8c8f0428bd004dca58a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 100200 2013-11-01 21:12:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Orivej Desh <smpuj@bk.ru>

pkgname=liblinebreak
pkgver=2.1
pkgrel=2
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/liblinebreak/"
license=("custom:zlib/libpng")
depends=("glibc")
source=("http://downloads.sourceforge.net/vimgadgets/liblinebreak-$pkgver.tar.gz")
md5sums=('9fe73b4b230434765be2305e50f8fe45')

build() {
  cd "$srcdir/liblinebreak-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/liblinebreak-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}