summaryrefslogtreecommitdiffstats
path: root/main/lua-xml/APKBUILD
blob: 619a4d256550e8dfbde2c50bafeaba11ec248e65 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-xml
_name=LuaXML
pkgver=090910
pkgrel=0
pkgdesc="a minimal set of functions for the processing of XML data in Lua"
url="http://www.viremo.de/LuaXML"
license="MIT"
depends=
makedepends="lua-dev"
install=
subpackages=
source="http://www.viremo.de/LuaXML/LuaXML_$pkgver.zip"

_builddir="$srcdir"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -m755 -D LuaXML_lib.so "$pkgdir"/usr/lib/lua/5.1/LuaXML_lib.so\
		|| return 1
	install -m755 -D LuaXml.lua "$pkgdir"/usr/share/lua/5.1/LuaXml.lua \
		|| return 1
}

md5sums="de690d73a34bdc7d3b4f0307a40afd87  LuaXML_090910.zip"