diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 02:04:13 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 02:04:13 -0300 |
commit | 0a088f3c285e53ee377271f42c16071e3ee5bafd (patch) | |
tree | ee094061e4ec6cd7808201f3c75c7f343ef3ba3a /libre/cdrkit/PKGBUILD | |
parent | 0be822175bb3cef0534b9a0597e84ae1ee6374ec (diff) | |
parent | 035f2fd609cd247ac0430f15cad3af94ce79f5f8 (diff) | |
download | abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.tar.gz abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.tar.bz2 abslibre-0a088f3c285e53ee377271f42c16071e3ee5bafd.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/cdrkit/PKGBUILD')
-rw-r--r-- | libre/cdrkit/PKGBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/libre/cdrkit/PKGBUILD b/libre/cdrkit/PKGBUILD new file mode 100644 index 000000000..aaa47f6ce --- /dev/null +++ b/libre/cdrkit/PKGBUILD @@ -0,0 +1,59 @@ +# $Id: PKGBUILD 186761 2013-05-31 04:50:41Z allan $ +# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org> +# Contributor (Arch): Alexander Fehr <pizzapunk gmail com> + +pkgname=cdrkit +_pkgname=$pkgname-libre +pkgver=1.1.11 +pkgrel=3.parabola1 +pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction, without nonfree apple_driver utility" +arch=('i686' 'x86_64' 'mips64el') +url="http://$pkgname.org/" +license=('GPL2') +provides=('cdrtools') +conflicts=("$_pkgname" 'cdrtools') +replaces=("$_pkgname" 'cdrtools') +depends=('file' 'bzip2') +optdepends=('perl: for dirsplit') +makedepends=('cmake') +mksource=(http://$pkgname.org/releases/$pkgname-$pkgver.tar.gz) +source=(https://repo.parabolagnulinux.org/other/$_pkgname/$_pkgname-$pkgver.tar.gz) +mkmd5sums=('efe08e2f3ca478486037b053acd512e9') +md5sums=('SKIP') + +mksource() { + cd "$srcdir/$pkgname-$pkgver" + + # Remove nonfree apple_driver utility + rm -rvf {doc/genisoimage/README.hfs_boot,genisoimage/apple_driver.{8,c}} +} + +prepare() { + cd "$srcdir/$_pkgname-$pkgver" + sed -i "s#sbin#bin#" netscsid/CMakeLists.txt +} + +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 +} |