1 # Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
2 # Contributor: Slash <demodevil5 at yahoo dot com>
3 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
4 # Contributor: Christoph Zeiler <rabyte*gmail>
6 # Based on the old ecm PKGBUILD.
8 # The pkgdesc is really long and not particularly pleasing as a
9 # result. These utilties aren't entirely related to each other, but
10 # are distributed together. Suggestions are welcome to making the
11 # pkgdesc suitably fit in 80 characters (the names of all the
12 # utilities in it are primarily to aide in searching the AUR for
18 pkgdesc="Collection of command line utilities, most for emulation or disk images (bin2iso, bincomp, brrrip, byteshuf, byteswap, cdpatch, ecm, fakecrc, hax65816, id3point, rels, screamf, subfile, uips, usfv, vb2rip, wordadd, zerofill)"
19 arch=('i686' 'x86_64')
20 url="http://www.neillcorlett.com/cmdpack/"
22 provides=('ecm' 'unecm')
23 source=("http://www.neillcorlett.com/downloads/${pkgname}-${pkgver}-src.tar.gz")
24 sha256sums=('1478d16720cccd585548b975d3bba0209cc0d62e274e67ba7fb0c168ec7fc39f')
26 _utilties=('bin2iso' 'bincomp' 'brrrip' 'byteshuf' 'byteswap'
27 'cdpatch' 'ecm' 'fakecrc' 'hax65816' 'id3point' 'rels' 'screamf'
28 'subfile' 'uips' 'usfv' 'vb2rip' 'wordadd' 'zerofill')
31 cd ${srcdir}/${pkgname}-${pkgver}-src/src/
33 for elem in ${_utilties[@]}
35 gcc $CFLAGS $elem.c -o $elem
40 cd ${srcdir}/${pkgname}-${pkgver}-src/src/
42 for elem in ${_utilties[@]}
44 install -Dm755 $elem ${pkgdir}/usr/bin/$elem
47 install -Dm644 ../doc/cmdpack.txt ${pkgdir}/usr/share/doc/cmdpack/cmdpack.txt
49 # There is a bin2iso package in the main repo. Rename this so both
50 # packages may co-exist (nc is for "Neill Corlett").
51 mv ${pkgdir}/usr/bin/bin2iso ${pkgdir}/usr/bin/bin2iso-nc
52 ln ${pkgdir}/usr/bin/ecm ${pkgdir}/usr/bin/unecm