# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Contributer: Benjamin Andresen # Maintainer: Thomas Baechler pkgname=bin2iso pkgver=1.9b _dlver=$(echo $pkgver | sed 's/\.//') pkgrel=1 pkgdesc="bin2iso converts RAW format (.bin/.cue) files to ISO/WAV format" arch=('i686' 'x86_64') url="http://users.eastlink.ca/~doiron/bin2iso/" source=(http://users.eastlink.ca/~doiron/${pkgname}/linux/${pkgname}${_dlver}_linux.c) license=('GPL') depends=('glibc') md5sums=('01dab72496175a772bcf6e08c854d440') build() { cd $startdir/src [ -z "$CC" ] && CC=gcc $CC $CFLAGS -Wall -o ${pkgname} ${pkgname}${_dlver}_linux.c || return 1 install -D -m 755 $pkgname $startdir/pkg/usr/bin/$pkgname }