summaryrefslogtreecommitdiff
path: root/community/nrg2iso/PKGBUILD
blob: e9e155f5000c623beeed06fcf56311d6849a380f (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 64934 2012-02-18 21:26:21Z jelle $
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Pointer <pointer@linux-blog.de>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=nrg2iso
pkgver=0.4
pkgrel=8
pkgdesc="Utility for converting CD or DVD image generated by Nero Burning Rom to ISO format"
arch=('i686' 'x86_64')
url="http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html"
license=('GPL')
depends=('glibc')
source=(http://gregory.kokanosky.free.fr/v4/linux/${pkgname}-${pkgver}.tar.gz)
md5sums=('996c38c8f1465e9c51ccad4f31ec2eee')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}

	sed -i -e 's|gcc|gcc ${CFLAGS}|g' Makefile
	make
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}

	install -D nrg2iso ${pkgdir}/usr/bin/nrg2iso
}