summaryrefslogtreecommitdiff
path: root/user/libass/APKBUILD
blob: 874c3e15eaf6ffbe5327f31aa3b3811674011a11 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libass
pkgver=0.15.2
pkgrel=0
pkgdesc="Portable library for rendering (Advanced) Substation Alpha subtitles"
url="https://github.com/libass/libass"
arch="all"
license="ISC"
depends=""
makedepends="freetype-dev fribidi-dev fontconfig-dev harfbuzz-dev"
subpackages="$pkgname-dev"
source="https://github.com/libass/libass/releases/download/$pkgver/libass-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4a352d2d21d8a7f25d593f0456cd057912589e55c0709dbf33150d23253fa7859da41584238f03c51782e066a0f92c6849c36b6210324cdb57ed01539921a39b  libass-0.15.2.tar.xz"