summaryrefslogtreecommitdiff
path: root/libre/dvdrtools/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 03:05:03 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 03:05:03 -0300
commitdc3844d0ed5d92fbcd919eced9f275cab3de14a7 (patch)
tree46608605c536dcff9680ae14241e15aebd349f19 /libre/dvdrtools/PKGBUILD
parent2b0eff107ab8e93926be35febf7640456dbc440c (diff)
parentac02fad38b091e6d86e107805a8f6ac44aa88133 (diff)
downloadabslibre-dc3844d0ed5d92fbcd919eced9f275cab3de14a7.tar.gz
abslibre-dc3844d0ed5d92fbcd919eced9f275cab3de14a7.tar.bz2
abslibre-dc3844d0ed5d92fbcd919eced9f275cab3de14a7.zip
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/dvdrtools/PKGBUILD')
-rw-r--r--libre/dvdrtools/PKGBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/libre/dvdrtools/PKGBUILD b/libre/dvdrtools/PKGBUILD
new file mode 100644
index 000000000..8f63f4734
--- /dev/null
+++ b/libre/dvdrtools/PKGBUILD
@@ -0,0 +1,55 @@
+# $Id: PKGBUILD 113887 2014-07-01 08:03:15Z fyan $
+# Maintainer (Arch): Alexander Baldeck <alexander@archlinux.org>
+# Contributor (Arch): dorphell <dorphell@archlinux.org>
+# Contributor (Arch): Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=dvdrtools
+_pkgname=$pkgname-libre
+pkgver=0.3.1
+pkgrel=4.parabola1
+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/$pkgname/"
+license=('GPL2')
+depends=('file' 'bash')
+makedepends=('transcode')
+optdepends=('transcode: video/DVD ripper and encoder for the terminal/console')
+provides=('cdrkit')
+conflicts=("$_pkgname" 'cdrkit')
+replaces=("$_pkgname")
+mksource=(ftp://ftp.archlinux.org/other/$_pkgname/$_pkgname-$pkgver.tar.gz)
+source=(https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz)
+mkmd5sums=('5707b7e877b853e258cd738938833006')
+md5sums=('2f5328b875b34b48f27b5ec4c26b35a6')
+
+mksource() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Remove nonfree apple_driver utility
+ rm -rvf {mkisofs/README.hfs_boot,apple_driver{.8,.c,.mk,_man.mk}}
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ # Make symlinks for cdrtools compatibility
+ ln -s dvdrecord $pkgdir/usr/bin/cdrecord
+ ln -s dvdrecord $pkgdir/usr/bin/wodim
+ ln -s mkisofs $pkgdir/usr/bin/genisoimage
+ ln -s mkisofs $pkgdir/usr/bin/mkhybrid
+ ln -s readcd $pkgdir/usr/bin/readom
+
+ ln -s dvdrecord.1.gz $pkgdir/usr/share/man/man1/cdrecord.1.gz
+ ln -s dvdrecord.1.gz $pkgdir/usr/share/man/man1/wodim.1.gz
+ ln -s mkisofs.8.gz $pkgdir/usr/share/man/man8/genisoimage.8.gz
+ ln -s mkisofs.8.gz $pkgdir/usr/share/man/man8/mkhybrid.8.gz
+ ln -s readcd.1.gz $pkgdir/usr/share/man/man1/readom.1.gz
+}