1 # Maintainer: Jens Staal <staal1978@gmail.com>
6 pkgdesc="A *NIX userland written in assembly"
9 url="http://asm.sourceforge.net/asmutils.html"
11 source=('http://asm.sourceforge.net/asmutils/asmutils-0.18.tar.gz' 'mconfig.patch')
12 md5sums=('a11c8fea347026449ecd2e5807e77d64' '2545f35791cbb31558771023403dcf69')
16 msg "setting up build directories"
18 cp -ar $srcdir/$pkgname-$pkgver $srcdir/build
20 patch -p0 $srcdir/build/MCONFIG -i $srcdir/mconfig.patch
25 mkdir "$pkgdir/opt/asmutils"
26 msg "cleaning up directories"
27 rm $srcdir/build/src/*.asm
28 rm $srcdir/build/src/Makefile
29 rm $srcdir/build/src/bonus/*.asm
30 rm $srcdir/build/lib/*.asm
31 rm $srcdir/build/lib/*.c
32 rm $srcdir/build/lib/Makefile
35 cp -ar $srcdir/build/doc $pkgdir/opt/asmutils/doc
36 cp -ar $srcdir/build/lib $pkgdir/opt/asmutils/lib
37 cp -ar $srcdir/build/src $pkgdir/opt/asmutils/bin