updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / bfc / PKGBUILD
blobe1379f5400cbcd61c23877971f3de8ae6af55f73
1 # Contributor: Jachym Barvinek <jachymb@gmail.com>
3 pkgname=bfc
4 pkgver=1
5 pkgrel=3
6 pkgdesc="A minimalistic brainfuck compiler."
7 arch=('i686' 'x86_64')
8 url="http://www.muppetlabs.com/~breadbox/bf/"
9 license=('GPL')
10 depends=()
11 makedepends=('nasm' 'coreutils')
12 source=('http://www.muppetlabs.com/~breadbox/software/tiny/bf.asm.txt')
14 md5sums=('9e9f85906a1c4194ab5ce83ddd058a7d')
16 options=('!strip')
18 build() {
19   cd $startdir/
20   nasm -f bin -o bfc bf.asm.txt || return 1
23 package() {
24   cd $startdir/
25   chmod +x bfc
26   mkdir -p $startdir/pkg/usr/bin
27   mv bfc $startdir/pkg/usr/bin