aboutsummaryrefslogtreecommitdiffstats
path: root/main/fribidi/APKBUILD
blob: a5e977152db99b745ae2c7fc3c8150b9c7591fce (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
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fribidi
pkgver=0.19.5
pkgrel=1
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
url="http://fribidi.org"
arch="all"
license="LGPL2+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends=""
source="http://fribidi.org/download/fribidi-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build ()
{
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="925bafb97afee8a2fc2d0470c072a155  fribidi-0.19.5.tar.bz2"
sha256sums="501231e4260f83fccedae1cafe983a7de87082e3f5387e0b283d016f7f4cb428  fribidi-0.19.5.tar.bz2"
sha512sums="0a1216d3ff23f76dd90a1fa5b1eadd1276cfedc07bd636e345df23911d2e23bc3780a5ba2e32f2025b517f7137135fb3de6d337f872932466efe480ece364e43  fribidi-0.19.5.tar.bz2"