blob: 68979e8e060873cdc62d636c38268568a6a76cf5 (
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
40
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libass
pkgver=0.12.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="d4b78e6a0794a9d386ece5cd08eb2d3e libass-0.12.2.tar.xz"
sha256sums="673c1b15bde182168b17e17ee1c8d9e01173f20af352134216135b5bf15bf1e3 libass-0.12.2.tar.xz"
sha512sums="7cdbb6514c17eafebcc5e558d96ac06f301fa2d7658275379b8598b71b1e10c5dee4d91ebce5181ee3f16f4fe4e1afa9bb9942fa81c38babdcad7de05b59d35f libass-0.12.2.tar.xz"
|