PKGBUILDs/extra/dvd+rw-tools/PKGBUILD

30 lines
963 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 49783 2009-08-15 16:14:44Z jgc $
# Maintainer: damir <damir@archlinux.org>
pkgname=dvd+rw-tools
pkgver=7.1
pkgrel=2
pkgdesc="dvd burning tools"
arch=(i686 x86_64)
license=('GPL')
url="http://fy.chalmers.se/~appro/linux/DVD+RW"
depends=('cdrkit' 'gcc-libs')
source=(http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${pkgname}-${pkgver}.tar.gz
buildpatch-7.0-3-20080108-karolina.patch)
md5sums=('8acb3c885c87f6838704a0025e435871'
'54b4dc52f5380216d4d9fc2dd2086d31')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# fix build, thank you Karolina
patch -Np1 -i "${srcdir}/buildpatch-7.0-3-20080108-karolina.patch"
make || return 1
install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/share/man/man1"
install -m755 growisofs dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control "${pkgdir}/usr/bin/" || return 1
install -m644 growisofs.1 ${pkgdir}/usr/share/man/man1/growisofs.1 || return 1
}