mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
c04250fe2e
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.
27 lines
697 B
Bash
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"
|
|
}
|