updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / nxc / PKGBUILD
blob2d1db9b036761e034b59f8e575beb222aa9d0e71
1 pkgname=nxc  
2 pkgver=1.2.1.r4
3 pkgrel=1 
4 pkgdesc="Not eXactly C -- to program LEGO's NXT programmable brick"
5 url="http://bricxcc.sourceforge.net/nbc"
6 arch=('i686' 'x86_64')
7 license=('GPL')
8 depends=('libusb')
9 makedepends=('fpc' 'lazarus')
10 source=(http://downloads.sourceforge.net/bricxcc/nbc-${pkgver}.src.tgz)
11 md5sums=('d56d7c28b17f75470a77473f0b833878')
12 noextract=("nbc-$pkgver.src.tgz")
13 build() {
14         cd $srcdir
15         install -d nbc
16         tar xzf nbc-$pkgver.src.tgz -C nbc
17         cd nbc/NXT
18         make -f nbcunix.mak || return 1
19         install -D -m755 nbc $pkgdir/usr/bin/nbc || return 1