1 # Maintainer: Andrew Antle <andrew dot antle at gmail dot com>
2 # Contributor: Anders Bergh <anders1@gmail.com>
7 pkgdesc="A Lua binding to Discount"
9 url="http://asbradbury.org/projects/lua-discount/"
11 depends=('lua' 'discount')
12 # LuaForge URLs have to be updated manually, due to the ID
13 source=(http://luaforge.net/frs/download.php/3758/$pkgname-$pkgver.tar.gz)
14 md5sums=('7dc7055816dc755aacb48bfd5eb2eb5b')
17 cd $srcdir/$pkgname-$pkgver
20 install -Dm755 discount.so $pkgdir/usr/lib/lua/5.1/discount.so || return 1
21 install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1