summaryrefslogtreecommitdiff
path: root/libre/dvdrtools-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-25 16:10:25 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-25 16:10:25 -0200
commit3369aaa54f171a923da2bbbb65750f7d2186376a (patch)
tree7d6bb43097822c6f8985d8abad5c1586fb50bf2f /libre/dvdrtools-libre
parent4e98a9f4ce59a44efea7c772910ba95d78495335 (diff)
dvdrtools-libre: add new package to libre repo
Diffstat (limited to 'libre/dvdrtools-libre')
-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
+}