# Contributor: Leonardo Arena # 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"