diff options
Diffstat (limited to 'extra/dvdrip')
-rw-r--r-- | extra/dvdrip/PKGBUILD | 15 | ||||
-rw-r--r-- | extra/dvdrip/dvdrip.install | 12 |
2 files changed, 9 insertions, 18 deletions
diff --git a/extra/dvdrip/PKGBUILD b/extra/dvdrip/PKGBUILD index 41f6a3ab2..dae30451d 100644 --- a/extra/dvdrip/PKGBUILD +++ b/extra/dvdrip/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 110171 2011-02-17 08:54:21Z giovanni $ +# $Id: PKGBUILD 126069 2011-06-01 10:23:05Z foutrelis $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Fredrik Hammar <Horney_C86@Hotmail.com> pkgname=dvdrip pkgver=0.98.11 -pkgrel=6 +pkgrel=8 pkgdesc="A Gtk frontend for transcode writen in Perl" arch=('i686' 'x86_64' 'mips64el') license=('custom') @@ -16,26 +16,25 @@ optdepends=('ogmtools: for ogm/odd video creation' 'lsdvd: fast reading of DVD table') source=(http://www.exit1.org/dvdrip/dist/${pkgname}-${pkgver}.tar.gz \ ${pkgname}.desktop) -options=(!emptydirs) +options=('!emptydirs' '!makeflags') md5sums=('6dfa4199d451757a37eea233a07da4c0' 'e91cf411928fd0500d07a0022b4ef546') build() { - export MAKEFLAGS="-j1" cd "${srcdir}/${pkgname}-${pkgver}" # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } package() { cd "${srcdir}/${pkgname}-${pkgver}" - make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete - install -Dm644 ${srcdir}/${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" - install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 ${srcdir}/${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/extra/dvdrip/dvdrip.install b/extra/dvdrip/dvdrip.install index 4cd6160c4..e111ef946 100644 --- a/extra/dvdrip/dvdrip.install +++ b/extra/dvdrip/dvdrip.install @@ -1,19 +1,11 @@ -# this is the scrollkeeper handling sample file - post_install() { - echo "update desktop mime database..." update-desktop-database -q } post_upgrade() { - post_install $1 -} - -pre_remove() { - /bin/true + post_install } post_remove() { - echo "update desktop mime database..." - update-desktop-database -q + post_install } |