# Maintainer: Natanael Copa pkgname=lua-penlight pkgver=1.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="penlight-$pkgver.tar.gz::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="363d420aa3aa22273906e0808d30d211 penlight-1.1.1.tar.gz" sha256sums="c78c701bb92e59ddb8d566ccfaf00e97973a279f57c2758f0d1f9281f313e92d penlight-1.1.1.tar.gz" sha512sums="05ce8b75607f5ac67cdd80916f65430cfa2478920ca287dd1a53e51ef7a0a19a3447519956d72ea72e3c1d4e7e821c8dfea31981c3f6632c7588a2deb0d1fa3c penlight-1.1.1.tar.gz"