aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-stdlib/APKBUILD
blob: 3bfaf3ef40cfb1591918f28a91b8e0b0e5363797 (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=0
pkgdesc="Lua library of modules for common programming tasks"
url="http://luaforge.net/projects/stdlib/"
arch="x86 x86_64"
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"