aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-penlight/APKBUILD
blob: f08fb6f1bf905acd16fefffd3d06f436cd95b7dd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-penlight
pkgver=0.9.8
pkgrel=0
pkgdesc="Lua libraries for extended operations on tables, lists and strings"
url="http://penlight.luaforge.net/"
arch="noarch"
license="GPL"
depends="lua-filesystem"
makedepends="wget"
install=
subpackages="$pkgname-doc"
source="http://stevedonovan.github.com/files/penlight-$pkgver-src.zip"

_builddir="$srcdir"/penlight-$pkgver

build() {
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr/share/lua/5.1/ \
		"$pkgdir"/usr/share/doc/$pkgname
	cp -r lua/pl "$pkgdir"/usr/share/lua/5.1/
	cp -r docs/* "$pkgdir"/usr/share/doc/$pkgname/
	cp -r examples "$pkgdir"/usr/share/doc/$pkgname/
}

md5sums="c9c8143787c9a32b6cd20369b41b3e9f  penlight-0.9.8-src.zip"