aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-xml/APKBUILD
blob: 7b8e8ca375332acf63905455528022002a296827 (plain) (blame)
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
35
# 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"
arch="x86 x86_64"
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"