diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-05 01:45:13 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-05 01:45:13 -0300 |
commit | b0565ff7cadee8eefa3092ed9cca9aeab6c2ddad (patch) | |
tree | 6d2c52c58f50d8c565889f5664f035650f5efde2 /libre/dvdrip/PKGBUILD | |
parent | 2728ded1e96eb209a37503f7838eef7c2aa29ee2 (diff) | |
parent | 9db285f49ab90c8c1b6edbd67e7dff962dfb9eec (diff) | |
download | abslibre-b0565ff7cadee8eefa3092ed9cca9aeab6c2ddad.tar.gz abslibre-b0565ff7cadee8eefa3092ed9cca9aeab6c2ddad.tar.bz2 abslibre-b0565ff7cadee8eefa3092ed9cca9aeab6c2ddad.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/dvdrip/PKGBUILD')
-rw-r--r-- | libre/dvdrip/PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/libre/dvdrip/PKGBUILD b/libre/dvdrip/PKGBUILD new file mode 100644 index 000000000..008c42971 --- /dev/null +++ b/libre/dvdrip/PKGBUILD @@ -0,0 +1,57 @@ +# $Id: PKGBUILD 114917 2014-07-04 15:46:06Z fyan $ +# Maintainer (Arch): Giovanni Scafora <giovanni@archlinux.org> +# Contributor (Arch): Fredrik Hammar <Horney_C86@Hotmail.com> +# Maintainer: Márcio Silva <coadde@parabola.nu> + +pkgname=dvdrip +pkgver=0.98.11 +pkgrel=11.parabola1 +pkgdesc="A Gtk frontend for transcode writen in Perl, without opcional hal and nonfree rar vobsub compression support" +arch=('i686' 'x86_64' 'mips64el') +license=('custom') +url="http://www.exit1.org/${pkgname}/" +install=${pkgname}.install +depends=('perl-gtk2-ex-formfactory' 'transcode' 'imagemagick' + 'perl-libintl-perl' 'desktop-file-utils' 'perl-event-execflow') +optdepends=('xvid4conf: xvid4 configuration tool' + 'lsdvd: Needed for faster DVD TOC reading' + 'mplayer: Needed for subtitle vobsub viewing' + 'mplayer-vaapi: Needed for subtitle vobsub viewing' + 'mplayer2: Needed for subtitle vobsub viewing' + 'ogmtools: Needed for OGG/Vorbis and for chapter progress bar' + 'xine-ui: Can be used to view DVD'\''s/files' + 'fping: Only for cluster mode master') +source=("http://www.exit1.org/${pkgname}/dist/${pkgname}-${pkgver}.tar.gz" + "${pkgname}.desktop" "libre.patch") +options=('!emptydirs' '!makeflags') +replaces=("${pkgname}-libre") +conflicts=("${pkgname}-libre") +md5sums=('6dfa4199d451757a37eea233a07da4c0' + 'e91cf411928fd0500d07a0022b4ef546' + 'bc006d3b3447f8b62ae6ba29773a064b') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i "$srcdir/libre.patch" +} + +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" +} |