From 5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 Mar 2012 00:01:25 +0000 Subject: Wed Mar 7 00:01:25 UTC 2012 --- community/bin2iso/PKGBUILD | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'community/bin2iso') diff --git a/community/bin2iso/PKGBUILD b/community/bin2iso/PKGBUILD index 8c2e2b7a9..cfd4f7098 100644 --- a/community/bin2iso/PKGBUILD +++ b/community/bin2iso/PKGBUILD @@ -1,27 +1,28 @@ -# $Id: PKGBUILD 21845 2010-07-17 17:50:15Z dgriffiths $ -# Contributer: Benjamin Andresen +# $Id: PKGBUILD 67258 2012-03-05 22:50:06Z arodseth $ +# Maintainer: Jelle van der Waa +# Contributor: Benjamin Andresen # Contributor: Thomas Baechler -# Maintainer: Daniel J Griffiths +# Contributor: Daniel J Griffiths +# Contributor: Alexander Rødseth pkgname=bin2iso pkgver=1.9b _dlver=${pkgver/./} -pkgrel=2 -pkgdesc="bin2iso converts RAW format (.bin/.cue) files to ISO/WAV format" +pkgrel=3 +pkgdesc="Converts RAW format (.bin/.cue) files to ISO/WAV format" arch=('i686' 'x86_64') url="http://users.eastlink.ca/~doiron/bin2iso/" license=('GPL') depends=('glibc') -source=(http://users.eastlink.ca/~doiron/${pkgname}/linux/${pkgname}${_dlver}_linux.c) -md5sums=('01dab72496175a772bcf6e08c854d440') - -build() { - /bin/true -} +source=("http://users.eastlink.ca/~doiron/$pkgname/linux/$pkgname${_dlver}_linux.c") +sha256sums=('1e8a6ae79e91325acd50f3a0e506edf4d8cb57b72d1dcfd8b276a04aff82e43d') package() { - cd ${srcdir} - [ -z "$CC" ] && CC=gcc - $CC $CFLAGS -Wall -o ${pkgname} ${pkgname}${_dlver}_linux.c || return 1 - install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} + cd "$srcdir" + + [ -z "$CC" ] && CC=gcc + $CC $CFLAGS -Wall -o "$pkgname" "$pkgname${_dlver}_linux.c" + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" } + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf