summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-28 11:34:36 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-28 11:34:36 -0300
commit3fd474d446f3e2cbf06e4827aa5557ebd0f86ffd (patch)
tree68385efd07f3cdf181fec31a55c2d04d2630c028 /libre
parent2b049dac85360749c4cef44b11da32c73e1e1a04 (diff)
downloadabslibre-3fd474d446f3e2cbf06e4827aa5557ebd0f86ffd.tar.gz
abslibre-3fd474d446f3e2cbf06e4827aa5557ebd0f86ffd.tar.bz2
abslibre-3fd474d446f3e2cbf06e4827aa5557ebd0f86ffd.zip
libre/cdrkit-libre-1.1.11-1
Diffstat (limited to 'libre')
-rw-r--r--libre/cdrkit-libre/PKGBUILD57
1 files changed, 57 insertions, 0 deletions
diff --git a/libre/cdrkit-libre/PKGBUILD b/libre/cdrkit-libre/PKGBUILD
new file mode 100644
index 000000000..5e71171f9
--- /dev/null
+++ b/libre/cdrkit-libre/PKGBUILD
@@ -0,0 +1,57 @@
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Maintainer: Henry Jensen <hjensen@connochaetos.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=cdrkit-libre
+pkgver=1.1.11
+pkgrel=2
+pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction"
+arch=('i686' 'x86_64')
+url="http://cdrkit.org/"
+license=('GPL2')
+depends=('file' 'bzip2' 'perl')
+makedepends=('cmake')
+provides=('cdrtools' "cdrkit=${pkgver}")
+conflicts=('cdrtools' 'cdrkit')
+replaces=('cdrtools' 'cdrkit')
+source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz)
+
+mksource() {
+ if [ ! -d ${pkgname}-${pkgver} ]; then
+ wget -O - http://cdrkit.org/releases/${pkgname/-libre/}-${pkgver}.tar.gz | \
+ bsdtar xzf -
+
+ mv -v ${pkgname/-libre/}-${pkgver} ${pkgname}-${pkgver}
+ fi
+
+ rm -rvf ${pkgname}-${pkgver}/{doc/genisoimage/README.hfs_boot,genisoimage/apple_driver.{c,8}}
+
+ tar czf ${pkgname}-${pkgver}.tar.gz ${pkgname}-${pkgver}/
+ rm -r ${pkgname}-${pkgver}/
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX="$pkgdir/usr" install
+
+ # Make symlinks for cdrtools compatibility
+ cd "$pkgdir/usr/bin"
+ ln -s wodim cdrecord
+ ln -s readom readcd
+ ln -s genisoimage mkisofs
+ ln -s genisoimage mkhybrid
+ ln -s icedax cdda2wav
+
+ cd "$pkgdir/usr/share/man/man1"
+ ln -s wodim.1 cdrecord.1
+ ln -s readom.1 readcd.1
+ ln -s genisoimage.1 mkisofs.1
+ ln -s genisoimage.1 mkhybrid.1
+ ln -s icedax.1 cdda2wav.1
+}
+md5sums=('e851c2d69ca17df7cfaabfa0d0e8e435')