summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/dvdrtools-libre/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/libre/dvdrtools-libre/PKGBUILD b/libre/dvdrtools-libre/PKGBUILD
new file mode 100644
index 000000000..aac1e5c14
--- /dev/null
+++ b/libre/dvdrtools-libre/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+# Contributor: dorphell <dorphell@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=dvdrtools
+pkgname=dvdrtools-libre
+pkgver=0.3.1
+pkgrel=3
+pkgdesc="A fork of cdrtools, with the primary goal of supporting writable DVD drives, without nonfree apple_driver utility"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://savannah.nongnu.org/projects/dvdrtools/"
+license=('GPL2')
+depends=('file' 'bash')
+makedepends=('transcode')
+optdepends=('transcode: video/DVD ripper and encoder for the terminal/console')
+provides=("$_pkgname=$pkgver" 'cdrkit')
+conflicts=("$_pkgname" 'cdrkit')
+replaces=("$_pkgname")
+source=(ftp://ftp.archlinux.org/other/dvdrtools/$_pkgname-$pkgver.tar.gz)
+md5sums=('5707b7e877b853e258cd738938833006')
+
+prepare() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ # Remove nonfree apple_driver utility
+ rm -rvf {mkisofs/README.hfs_boot,apple_driver.{c,8}}
+}
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}