diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2017-10-17 18:35:06 -0500 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2017-10-17 18:35:06 -0500 |
commit | 1225e0ded6eb2b62ecee80cf0404943871f56fd9 (patch) | |
tree | 03edc40207e3242e5c0d6a67281ff893af650dc3 | |
parent | 070f099b640ca635949944176a27236bcfad71be (diff) | |
download | abslibre-1225e0ded6eb2b62ecee80cf0404943871f56fd9.tar.gz abslibre-1225e0ded6eb2b62ecee80cf0404943871f56fd9.tar.bz2 abslibre-1225e0ded6eb2b62ecee80cf0404943871f56fd9.zip |
libre/cdrkit: re-add package
apparently dvdrtools doesn't really provide cdrkit, so cdrkit is still
necessary
-rw-r--r-- | libre/cdrkit/PKGBUILD | 59 | ||||
-rw-r--r-- | libre/dvdrtools/PKGBUILD | 1 |
2 files changed, 59 insertions, 1 deletions
diff --git a/libre/cdrkit/PKGBUILD b/libre/cdrkit/PKGBUILD new file mode 100644 index 000000000..4f1d4dc8f --- /dev/null +++ b/libre/cdrkit/PKGBUILD @@ -0,0 +1,59 @@ +# Ma# $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.parabola2 +pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction, without nonfree apple_driver utility" +arch=('i686' 'x86_64' 'armv7h') +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.parabola.nu/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 +} diff --git a/libre/dvdrtools/PKGBUILD b/libre/dvdrtools/PKGBUILD index e16b9d59c..68969fab3 100644 --- a/libre/dvdrtools/PKGBUILD +++ b/libre/dvdrtools/PKGBUILD @@ -15,7 +15,6 @@ 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) |