aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dvdbackup/APKBUILD
blob: 0f50f4e43b0481c56c1b08fad9ac3a3c33832019 (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: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=dvdbackup
pkgver=0.4.2
pkgrel=0
pkgdesc="Tool to rip video DVDs from the command line"
url="http://dvdbackup.sourceforge.net/"
arch="all"
license="GPL"
makedepends="libdvdread-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/dvdbackup/dvdbackup-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$builddir"
	update_config_guess
	default_prepare
}

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

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

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

sha512sums="df9abb2ca0b8a7cd7855ddff94dae249b06b2ec0ee42f3e9c53aa46aebd9885bdf26dacecbd4a20ff5f642ea10c0c64b811d25c23802c8a2b1489281900fbe0d  dvdbackup-0.4.2.tar.xz"