# $Id: PKGBUILD 30801 2009-03-21 23:47:51Z hugo $ # Maintainer: Giovanni Scafora # Contributor: Fredrik Hammar pkgname=dvdrip pkgver=0.98.10 pkgrel=2 pkgdesc="A Gtk frontend for transcode writen in Perl" arch=('i686' 'x86_64') license=('custom') url="http://www.exit1.org/dvdrip/" install=${pkgname}.install depends=('perl-gtk2-ex-formfactory' 'transcode' 'imagemagick' 'perl-libintl-perl' 'desktop-file-utils' 'perl-event-execflow') optdepends=('ogmtools: for ogm/odd video creation') source=(http://www.exit1.org/dvdrip/dist/${pkgname}-${pkgver}.tar.gz \ ${pkgname}.desktop) options=(!emptydirs) md5sums=('368ce6bc8d6c641d41e126d447ca76b2' '9c5b347c2e0ae847d0e7abb3cf54bad3') build() { export MAKEFLAGS="-j1" cd ${startdir}/src/${pkgname}-${pkgver} perl Makefile.PL INSTALLSITESCRIPT=/usr/bin INSTALLSITELIB=/usr/lib/perl5/site_perl/current || return 1 make || return 1 make install DESTDIR=${startdir}/pkg # remove perllocal.pod and .packlist find ${startdir}/pkg -name perllocal.pod -delete find ${startdir}/pkg -name .packlist -delete install -Dm644 ../${pkgname}.desktop \ ${startdir}/pkg/usr/share/applications/${pkgname}.desktop install -Dm 644 COPYRIGHT \ ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt }