mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
33 lines
778 B
Bash
33 lines
778 B
Bash
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
|
|
pkgname=lua-expat
|
|
_pkgname=luaexpat
|
|
pkgver=1.3.0
|
|
pkgrel=1
|
|
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')
|
|
|
|
prepare() {
|
|
cd ${_pkgname}-${pkgver}
|
|
cp -L "$srcdir/config.51" config
|
|
}
|
|
|
|
build() {
|
|
cd ${_pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${_pkgname}-${pkgver}
|
|
make DESTDIR="$pkgdir" install
|
|
# mv usr "$pkgdir"
|
|
install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
|
|
}
|