blob: 02d2243b725d6ed8c9b9d395b9367c5d768337e5 (
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
|
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Tuxbubling <tuxbubling@jabber.fr>, alejandronova
pkgname=cdrtools
pkgver=3.01a02
pkgrel=1
pkgdesc="Original cdrtools supporting CD, DVD and BluRay burning"
arch=('i686' 'x86_64')
url="http://cdrecord.berlios.de/private/cdrecord.html"
license=('CDDL')
depends=('acl')
conflicts=('cdrkit')
provides=('cdrkit')
backup=('etc/default/cdrecord' 'etc/default/rscsi')
install=cdrtools.install
source=(http://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-$pkgver.tar.gz)
md5sums=('302de3e8fc508d873719a0c8bab1eff7')
build() {
cd "$srcdir"/cdrtools-${pkgver%%a*}
sed -i 's|/opt/schily|/usr|g' DEFAULTS/Defaults.linux
sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux
export GMAKE_NOWARN=true
make
}
package() {
cd "$srcdir"/cdrtools-${pkgver%%a*}
export GMAKE_NOWARN=true
make INS_BASE="$pkgdir"/usr INS_RBASE="$pkgdir" install
rm -rf "$pkgdir"/usr/include
rm -rf "$pkgdir"/usr/lib/{*.a,profiled}
find "$pkgdir" -type d -perm 775 -exec chmod 755 '{}' ';'
find "$pkgdir" -type f -perm 4711 -exec chmod 755 '{}' ';'
}
# vim:set ts=2 sw=2 et:
|