# Maintainer: Natanael Copa pkgname=lua-penlight pkgver=1.0.3a 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="https://github.com/stevedonovan/penlight/archive/$pkgver.tar.gz" _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="5de8e66b18b915b0afe58fe464466daa 1.0.3a.tar.gz"