# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=flasm pkgver=1.62 pkgrel=6 pkgdesc='Disassembler tool for SWF bytecode.' arch=('x86_64' 'aarch64') groups=('blackarch' 'blackarch-decompiler' 'blackarch-reversing') url='http://www.nowrap.de/flasm.html' license=('custom') depends=('zlib') makedepends=('gperf') source=('http://www.nowrap.de/download/flasm16src.zip') sha512sums=('27e6c34bbb936e6b23b712614434de501ebd831b6d2cd47935314a650dbf3f386727e8386ffde05c5c022ec760dba6c69ab33a143d8caee1d1e4d0105e29c5a2') build() { make CFLAGS="$CFLAGS -fcommon" } package() { install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname" install -Dm 644 LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }