summaryrefslogtreecommitdiff
path: root/community/dvdauthor/APKBUILD
blob: 3709def2ca0f20060feb10305ef76adaaf435277 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dvdauthor
pkgver=0.7.2
pkgrel=2
pkgdesc="DVD authoring tools"
url="http://dvdauthor.sourceforge.net"
arch="all"
license="GPL"
makedepends="libpng-dev freetype-dev libdvdread-dev
	fribidi-dev libxml2-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/$pkgname"

check() {
	cd "$builddir"
	make check
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-rpath \
		--disable-static
	make
}

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

sha512sums="202b8bba38939d122dc864921a57e89906ca99ddabf44e3b07419cc42cc052567cd892b41f1171c9c195c9a770758e9319a942ea64d14ee8fa847588c7761125  dvdauthor-0.7.2.tar.gz"