aboutsummaryrefslogtreecommitdiffstats
path: root/main/libass/APKBUILD
blob: 3abd735fb0dd5832923665bb29377e0b95c061b5 (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.2
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="701b761934de0eff7d45f58d7d13eaf6  libass-0.11.2.tar.xz"
sha256sums="499dbaf14d7743e5899c9ca918988e81a9894f674b22d4682922f2e5d095ff9e  libass-0.11.2.tar.xz"
sha512sums="93e7b9ce328fc8ac7555c49015baf89c2f07957e501e3ea9ee5a2a7750c1454891a202a92f1348aef27c877bf01674bb7958b7e500c59538b67fe68a89315540  libass-0.11.2.tar.xz"