summaryrefslogtreecommitdiffstats
path: root/cdrtools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cdrtools/PKGBUILD')
-rw-r--r--cdrtools/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/cdrtools/PKGBUILD b/cdrtools/PKGBUILD
index 3c23356..02d2243 100644
--- a/cdrtools/PKGBUILD
+++ b/cdrtools/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Tuxbubling <tuxbubling@jabber.fr>, alejandronova
pkgname=cdrtools
-pkgver=2.01.01a79
+pkgver=3.01a02
pkgrel=1
-pkgdesc="Original cdrtools, supporting CD, DVD and BluRay burning"
+pkgdesc="Original cdrtools supporting CD, DVD and BluRay burning"
arch=('i686' 'x86_64')
url="http://cdrecord.berlios.de/private/cdrecord.html"
license=('CDDL')
@@ -13,16 +13,22 @@ 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=('667d286693942b0bf61eaabbf54d09e2')
+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
- make || return 1
+ export GMAKE_NOWARN=true
+ make
+}
+
+package() {
+ cd "$srcdir"/cdrtools-${pkgver%%a*}
+ export GMAKE_NOWARN=true
+
make INS_BASE="$pkgdir"/usr INS_RBASE="$pkgdir" install
- mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
rm -rf "$pkgdir"/usr/include
rm -rf "$pkgdir"/usr/lib/{*.a,profiled}
find "$pkgdir" -type d -perm 775 -exec chmod 755 '{}' ';'