updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lua-penlight / PKGBUILD
blob8743aa6d87d828d4245a0fae90c338919f9df15a
1 # Maintainer: Linus Sjögren <thelinx@unreliablepollution.net>
2 pkgname=lua-penlight
3 pkgver=0.9.0
4 pkgrel=1
5 pkgdesc="A set of pure Lua libraries focusing on input data handling, functional programming, and OS path management."
6 license=('MIT')
7 arch="any"
8 url="https://github.com/stevedonovan/Penlight"
9 depends=('lua' 'luafilesystem')
10 source=($url/tarball/$pkgver)
11 md5sums=('6671e096c8455baffbb98e7c21bb83ee')
13 build() {
14   cd "$srcdir"
15   cd `find -name stevedonovan*`
16         mkdir -p $pkgdir/usr/share/lua/5.1/pl/
17         install -Dm0664 lua/pl/* \
18                 $pkgdir/usr/share/lua/5.1/pl/
19   install -Dm0644 LICENCE.txt \
20     $pkgdir/usr/share/licenses/$pkgname/LICENCE.txt