desktop/lua-expat/PKGBUILD
Adrian Chaves (Gallaecio) c04250fe2e lua 5.3.3
Packages that do not support latest Lua have been moved to the CCR. If requested,
we could package lua52 and lua51 in the official repoitories to support popular
packages that have not yet caught up with latest Lua.
2016-09-21 23:49:54 +02:00

27 lines
697 B
Bash

# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=lua-expat
_pkgname=luaexpat
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')
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"
}