aboutsummaryrefslogtreecommitdiffstats
path: root/main/libass/APKBUILD
blob: a27b34b3de7b68f17e9f0419a290f53f2da3ddf2 (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
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libass
pkgver=0.11.1
pkgrel=0
pkgdesc="A portable library for SSA/ASS subtitles rendering"
url="http://code.google.com/p/libass/"
arch="all"
license="GPL"
depends=""
depends_dev="enca-dev fontconfig-dev fribidi-dev freetype-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="http://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"

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

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

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

md5sums="4c67e4450d4aad65e344de3f5cf28751  libass-0.11.1.tar.xz"
sha256sums="9d773a2880114ae4edc4b7686ed67219348d932c24e322ffd7d4c1d97e8813ac  libass-0.11.1.tar.xz"
sha512sums="16b047f688c9d9804d402e7a30377bc98ddadb5d464d621e6e035521532b9ff1e86d0e144e7c5089782afc6ac42ab934b03d75c1c4972fbaea7d8949f732ff62  libass-0.11.1.tar.xz"