#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com #Former: George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=vobcopy pkgver=1.2.0 zenver=64 pkgrel=1 arch=i486 source=("http://vobcopy.org/download/vobcopy-1.2.0.tar.bz2" "Makefile.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "thanks" "faq" "release-notes" "alternative_programs.txt") url=http://lpn.rnbhq.org/projects/c/c.shtml sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/ap/$pkgname options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "vobcopy is a DVD backup tool" "Vobcopy copies DVD .vob files to hard disk (thanks to libdvdread)," "decrypting them on the way (if libdvdcss is installed) and merges" "them into 2 GB files (or larger) with the name extracted from" "the DVD. It checks for enough free space on the destination drive" "and compares the copied size to the size on DVD (in case" "something went wrong during the copying). It can also mirror a" "whole DVD video part and copy single files." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p0 < ../Makefile.patch ./configure.sh --prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/doc/ # Patch the Makefile to accept DESTDIR #sed -i -e 's,${PREFIX},${DESTDIR}/${PREFIX},' Makefile make || return 1 make install DESTDIR=$startdir/pkg rm $startdir/pkg/usr/doc/* }