#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=vobcopy
pkgver=1.2.0
pkgrel=1gv
arch=i486
source=(http://vobcopy.org/download/vobcopy-$pkgver.tar.bz2)
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

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
	./configure.sh --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc
	make || return 1
	make install DESTDIR=$startdir/pkg
}