summaryrefslogtreecommitdiff
path: root/community/nrg2iso/PKGBUILD
blob: 493bfb4ff7d906741efd603b8c41605650041275 (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 25073 2010-08-30 17:39:20Z ibiru $
# 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=7
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
}