blob: ab32fb83db6acb085b64e1cbb3b929cc8a07a0a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=lua-expat
_name=luaexpat
pkgver=1.2.0
pkgrel=0
pkgdesc="LuaExpat is a SAX XML parser based on the Expat library. LuaExpat is free software and uses the same license as Lua 5.0."
url="http://luaforge.net/projects/luaexpat/"
arch="all"
license="MIT"
depends="lua"
makedepends="lua-dev expat-dev"
install=
source="http://matthewwild.co.uk/projects/$_name/$_name-$pkgver.tar.gz
newconfig"
replaces="luaexpat"
build() {
cd "$srcdir/$_name-$pkgver"
mv ../newconfig ./config
make || return 1
}
package() {
cd "$srcdir/$_name-$pkgver"
make LUA_DIR="$pkgdir"/usr/share/lua/5.1 LUA_LIBDIR="$pkgdir"/usr/lib/lua/5.1 install
}
md5sums="03efe50c7f30a34580701e6527d7bfee luaexpat-1.2.0.tar.gz
eb947b7aa99b487289b02c1ab1b8ccd3 newconfig"
|