1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="A simple console utility for converting DVD movies to AVI files"
8 url="http://ripdvd.sourceforge.net/"
10 depends=('bash' 'lsdvd' 'mplayer')
11 optdepends=('libdvdcss' 'pv' 'transcode')
12 source=(http://downloads.sourceforge.net/ripdvd/ripdvd-$pkgver.tar.gz)
15 cd "$srcdir/ripdvd-$pkgver"
16 sed -e '/bash_/ s/755/644/; /ln -s/ d; s/mkdir -p/install -dm755/' \
17 -e 's/AUTH.*TODO$/AUTHORS README README.fr/' -i install.sh
18 sed -i '/^Name/ s/dvd/DVD/; /^Enc/ c\Version=1.0' desktop/ripdvd.desktop
20 ./install.sh DESTDIR="$pkgdir" \
22 --mandir=/usr/share/man/man1 \
23 --icondir=/usr/share/pixmaps \
24 --docdir=/usr/share/doc/ripdvd || return 1
25 ln -sf ripdvd.1.gz "$pkgdir/usr/share/man/man1/xripdvd.1.gz"