APKBUILD 1009 Bytes
Newer Older
1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2
pkgname=lua-penlight
3
pkgver=1.1
4 5 6
pkgrel=0
pkgdesc="Lua libraries for extended operations on tables, lists and strings"
url="http://penlight.luaforge.net/"
7
arch="noarch"
8 9
license="GPL"
depends="lua-filesystem"
10
makedepends="wget"
11 12
install=
subpackages="$pkgname-doc"
13
source="http://stevedonovan.github.com/files/penlight-$pkgver.zip"
14

15
_builddir="$srcdir"/penlight-$pkgver
16 17 18 19 20 21 22 23 24 25 26

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/
27
	cp -r examples "$pkgdir"/usr/share/doc/$pkgname/
28 29
}

30 31 32
md5sums="b24499e9f9496a311b7f38626358df41  penlight-1.1.zip"
sha256sums="cf3e80f325830fb487d2744c3a597a935d52f2d9166b375357e254ab24907ead  penlight-1.1.zip"
sha512sums="af64c87a88e4fb7a7bcb572c841fe1cb8880eeecc125df4bed164525d5637f334b0ee1e5f1caf17e258429c25ecfacbac9fe2b5a9d7c3e281ec8177da2d6b113  penlight-1.1.zip"