aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-expat/APKBUILD
blob: e62eb085c3da4e0ba762da1d104c2aa425df8947 (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
32
33
34
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=lua-expat
_name=luaexpat
pkgver=1.3.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 LUA_V=5.1 || return 1
}

package() {
	cd "$srcdir/$_name-$pkgver"
	make LUA_V=5.1 DESTDIR="$pkgdir" install
}

md5sums="3c20b5795e7107f847f8da844fbfe2da  luaexpat-1.3.0.tar.gz
eb947b7aa99b487289b02c1ab1b8ccd3  newconfig"
sha256sums="d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3  luaexpat-1.3.0.tar.gz
3744a9bd14aa64a9751642a263d94155a43834e4d0be694cdb6e522b1a37ea4e  newconfig"
sha512sums="91884653310e2dc89ade6d1653875ac8607640a21853d3ccb1fd0f833812e41981fad5c40101732ec249104d2c50c9a332208d1e44423b8428065a223c60b4ae  luaexpat-1.3.0.tar.gz
84bc640c1f18669fccf3cac2cd25106005504fd663bd2bd2afc72bcdc2a3fe4cdc13314bf5c849eca0ffe48d80d7c58c6739862b8e5978bc8326432b876b44b5  newconfig"