4 pkgdesc='A command-line disassembler supporting x86, x86-64, PE, COFF, ELF, OMF and Mach-O'
6 url=http://www.agner.org/optimize/
9 makedepends=('hd2u' 'unzip')
10 source=(http://www.agner.org/optimize/$pkgname.zip)
11 md5sums=('e465d1a3c1a2d19474bce20cce2fb8dc')
15 unzip source.zip -d source
20 echo -n 'Building ... '
22 # As in ''${srcdir}/source/build.sh'':
23 g++ -o objconv -O2 *.cpp
27 install -D -m755 "$srcdir/source/objconv" "$pkgdir/usr/bin/objconv"
28 install -D -m755 "$srcdir/objconv-instructions.pdf" "$pkgdir/usr/share/doc/$pkgname/manual.pdf"