summaryrefslogtreecommitdiff
path: root/community/bin2iso/PKGBUILD
blob: cfd4f7098ea22ccb67c8ad4afd32ff78468b3ac7 (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
# $Id: PKGBUILD 67258 2012-03-05 22:50:06Z arodseth $
# Maintainer: Jelle van der Waa <jelle@vdwaa.nl>
# Contributor: Benjamin Andresen <benny@klapmuetz.org>
# Contributor: Thomas Baechler <thomas.baechler@rwth-aachen.de>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=bin2iso
pkgver=1.9b
_dlver=${pkgver/./}
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")
sha256sums=('1e8a6ae79e91325acd50f3a0e506edf4d8cb57b72d1dcfd8b276a04aff82e43d')

package() {
  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: