updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / luadec51 / PKGBUILD
blobf69285d3e183d8e23fdad79572eaeaf45595fad7
1 # Contributor: Tim Hatch <tim@timhatch.com>
2 pkgname=luadec51
3 pkgver=2.0
4 pkgrel=1
5 _luaver=5.1.4
6 _forgeid=4008
7 pkgdesc="Disassembler for Lua compiled bytecode"
8 arch=(i686 x86_64)
9 depends=(lua glibc)
10 url="http://luadec51.luaforge.net/index.html"
11 license=('MIT')
12 source=(http://gentoo.mirrors.pair.com/distfiles/lua-${_luaver}.tar.gz \
13         http://luaforge.net/frs/download.php/${forgeid}/luadec51_${pkgver}.tgz \
14         Makefile
15         luadec51.license)
16 md5sums=('d0870f2de55d59c1c8419f36e8fac150' \
17          'bc94202f9b68d51033bd4586ba4e2cf8' \
18          '14b56fa4da33010665204d8b6b7eb4b9' \
19          'b372f9646d252062f030618ded501cde')
21 build() {
22   pushd "$srcdir/luadec" || return 1
23   make -f ../Makefile luadec || return 1
24   install -Dm755 luadec "$pkgdir/usr/bin/luadec51"
25   popd
27   install -Dm644 luadec51.license "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" || return 1
28