desktop/lua-expat/PKGBUILD

27 lines
697 B
Bash
Raw Normal View History

2014-04-14 00:07:12 +08:00
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=lua-expat
_pkgname=luaexpat
2014-04-14 00:07:12 +08:00
pkgver=1.3.0
pkgrel=2
pkgdesc='SAX XML parser based on the Expat library'
arch=('x86_64')
url='http://matthewwild.co.uk/projects/luaexpat/'
license=('MIT')
depends=('lua' 'expat')
source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz"
'config.51')
2014-04-14 00:07:12 +08:00
md5sums=('3c20b5795e7107f847f8da844fbfe2da'
'64abbf5b602e0e31b68db2925a5e6b2f')
build() {
cd ${_pkgname}-${pkgver}
make CFLAGS='-DLUA_32BITS'
}
package() {
cd ${_pkgname}-${pkgver}
make DESTDIR="$pkgdir" install
install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
}