From 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe Mon Sep 17 00:00:00 2001 From: root Date: Sat, 29 Dec 2012 02:13:48 -0800 Subject: Sat Dec 29 02:10:20 PST 2012 --- extra/dvdrip/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ extra/dvdrip/dvdrip.desktop | 8 ++++++++ extra/dvdrip/dvdrip.install | 11 +++++++++++ 3 files changed, 61 insertions(+) create mode 100644 extra/dvdrip/PKGBUILD create mode 100644 extra/dvdrip/dvdrip.desktop create mode 100644 extra/dvdrip/dvdrip.install (limited to 'extra/dvdrip') diff --git a/extra/dvdrip/PKGBUILD b/extra/dvdrip/PKGBUILD new file mode 100644 index 000000000..e3be37d2f --- /dev/null +++ b/extra/dvdrip/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 143731 2011-11-28 17:39:01Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Fredrik Hammar + +pkgname=dvdrip +pkgver=0.98.11 +pkgrel=10 +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' + 'lsdvd: fast reading of DVD table' + 'fping: for cluster support') +source=("http://www.exit1.org/dvdrip/dist/${pkgname}-${pkgver}.tar.gz" + 'dvdrip.desktop') +options=('!emptydirs' '!makeflags') +md5sums=('6dfa4199d451757a37eea233a07da4c0' + 'e91cf411928fd0500d07a0022b4ef546') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # install module in vendor directories. + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + 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" +} diff --git a/extra/dvdrip/dvdrip.desktop b/extra/dvdrip/dvdrip.desktop new file mode 100644 index 000000000..dd19b4aae --- /dev/null +++ b/extra/dvdrip/dvdrip.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=dvd::rip +Comment=DVD Ripper and Encoder - Backup and compression utility for DVDs +Exec=/usr/bin/vendor_perl/dvdrip +Icon=/usr/share/perl5/vendor_perl/Video/DVDRip/icon.xpm +Terminal=false +Type=Application +Categories=Application;AudioVideo;Video; diff --git a/extra/dvdrip/dvdrip.install b/extra/dvdrip/dvdrip.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/extra/dvdrip/dvdrip.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf