APKBUILD 1.03 KB
Newer Older
1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2
pkgname=lua-penlight
3
pkgver=1.2.0
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="penlight-$pkgver.tar.gz::https://github.com/stevedonovan/Penlight/archive/$pkgver.tar.gz"
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="fa213fa3aa3e2c920af8c4b28bdf2a1e  penlight-1.2.0.tar.gz"
sha256sums="e0e7cec321f481f39472e8d63b258327d7ebae19c3e39e5956dcc821aa3b29c0  penlight-1.2.0.tar.gz"
sha512sums="a5081169fb9237b84c98c892f82dbd24d186b2ce85cf9bd650fdc924a26403c1087dd8bae5ff2bfd1d99c4b146bc41d2914f36f7ceb85fa82f882fb76168e3e2  penlight-1.2.0.tar.gz"