summaryrefslogtreecommitdiff
path: root/extra/dvd+rw-tools/PKGBUILD
blob: 189753a6b381a30856217b873fda6cddae4c47fc (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
# $Id: PKGBUILD 49778 2009-08-15 15:54:31Z jgc $
# Maintainer: damir <damir@archlinux.org>

pkgname=dvd+rw-tools
pkgver=7.1
pkgrel=2
pkgdesc="dvd burning tools"
arch=(i686 x86_64 'mips64el')
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
}