aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-penlight/APKBUILD
blob: 95f7d62f4eb23545f2d1a06dcdc589e635c6aed5 (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
31
32
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-penlight
pkgver=1.1
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.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="b24499e9f9496a311b7f38626358df41  penlight-1.1.zip"
sha256sums="cf3e80f325830fb487d2744c3a597a935d52f2d9166b375357e254ab24907ead  penlight-1.1.zip"
sha512sums="af64c87a88e4fb7a7bcb572c841fe1cb8880eeecc125df4bed164525d5637f334b0ee1e5f1caf17e258429c25ecfacbac9fe2b5a9d7c3e281ec8177da2d6b113  penlight-1.1.zip"