summaryrefslogtreecommitdiffstats
path: root/main/lua-stdlib/APKBUILD
blob: 9d9f5a0214bb61076798abb8ae7e7d3d1d1d304c (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
# Maintainer: Natnae
pkgname=lua-stdlib
pkgver=13
pkgrel=0
pkgdesc="Lua library of modules for common programming tasks"
url="http://luaforge.net/projects/stdlib/"
license="MIT/X"
depends=
makedepends=
install=
subpackages="$pkgname-doc"
source="http://luaforge.net/frs/download.php/4581/stdlib-13.tar.gz"

_builddir="$srcdir"/stdlib
_luashare=/usr/share/lua/5.1
build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	install -d "$pkgdir"/$_luashare
	install -m644 modules/*.lua "$pkgdir"/$_luashare/
	mkdir -p "$pkgdir"/usr/share/doc/$pkgname
	install -m644  modules/*.html "$pkgdir"/usr/share/doc/$pkgname/
}

md5sums="592cbfb622a0a9a7d8c6d7ca6657bc05  stdlib-13.tar.gz"