mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
22 lines
743 B
Bash
22 lines
743 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Contributer: Benjamin Andresen <benny@klapmuetz.org>
|
||
|
# Maintainer: Thomas Baechler <thomas.baechler@rwth-aachen.de>
|
||
|
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
|
||
|
}
|