aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-stdlib/APKBUILD
blob: 685b1d1c92db5b1e269d688734c86231f591f6d1 (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
# Maintainer: Natnae
pkgname=lua-stdlib
pkgver=13
pkgrel=1
pkgdesc="Lua library of modules for common programming tasks"
url="http://luaforge.net/projects/stdlib/"
arch="noarch"
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"