1 # Maintainer: 458italia <svenskaparadox@gmail.com>
2 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
7 pkgdesc="A small C compiler for Unix systems"
9 url="http://nwcc.sourceforge.net/"
12 source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tar.gz)
13 md5sums=('7b1f15d8ba3cfd977c461d48c149b358')
18 sed 's|lib64/|lib/|g' -i driver.c
19 sed 's|-Wall -W -ggdb -g||g' -i configure
21 ./configure --installprefix=/usr --nocross
24 mkdir -p "$pkgdir"/usr/{bin,lib}
25 install -m755 nwcc{,1} snake "$pkgdir"/usr/bin/
26 install -m644 libnwcc.o "$pkgdir"/usr/lib/
28 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
31 # vim:set ts=2 sw=2 et: