blob: 83434c676cc306f2c6ae9a08ffa0a98d5f5fe6ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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.1
pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction"
arch=('i686' 'x86_64' 'mips64el')
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')
|