aboutsummaryrefslogtreecommitdiffstats
path: root/main/libass/APKBUILD
blob: ae78855b5330809fb9b13022ed4214da6a4a02a9 (plain) (blame)
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
# Contributor: Carlo Landmeter 
# Maintainer: 
pkgname=libass
pkgver=0.9.12
pkgrel=1
pkgdesc="A portable library for SSA/ASS subtitles rendering"
url="http://code.google.com/p/libass/"
arch="all"
license="GPL"
depends=""
makedepends="pkgconfig enca-dev fontconfig-dev libpng-dev"
subpackages="$pkgname-dev"
source="http://libass.googlecode.com/files/${pkgname}-${pkgver}.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

md5sums="fcef4b048ca2655a14073d692551cd1f  libass-0.9.12.tar.xz"