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
# Maintainer: Themaister <[email protected]>
pkgname=bass-asm
pkgver=06
pkgrel=1
pkgdesc="Multi-target cross assembler for SNES 65c816 and SPC-700 architectures"
arch=('i686' 'x86_64')
url="http://byuu.org/"
license=('GPL2')
depends=('gcc-libs>=4.5')

source=("http://byuu.org/files/bass_v$pkgver.tar.bz2")
md5sums=('c74fc5ff827737dbdd6fd7ec9fb6777f')

build() 
{
  cd "$srcdir/bass"
  echo "Compiling bass ..."
  g++ $CXXFLAGS $LDFLAGS -o bass bass.cpp -std=gnu++0x -I. -DBASS_BINARY
}

package()
{
  install -d "$pkgdir/usr/share/doc/"
  cp -r "$srcdir/bass/doc/" "$pkgdir/usr/share/doc/$pkgname/"
  install -Dm755 "$srcdir/bass/bass" "$pkgdir/usr/bin/bass"
}
# vim:set ts=2 sw=2 et: