diff options
Diffstat (limited to 'community/luafilesystem/PKGBUILD')
-rw-r--r-- | community/luafilesystem/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/luafilesystem/PKGBUILD b/community/luafilesystem/PKGBUILD new file mode 100644 index 000000000..49266f90b --- /dev/null +++ b/community/luafilesystem/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 15894 2010-04-17 20:42:12Z cbrannon $ +# Maintainer: Chris Brannon <cmbrannon79@gmail.com> +# Contributor: Paulo Matias <matiasΘarchlinux-br·org> +# Contributor: Anders Bergh <anders1@gmail.com> +pkgname=luafilesystem +pkgver=1.5.0 +pkgrel=1 +pkgdesc="File System Library for the Lua Programming Language" +arch=('i686' 'x86_64') +url="http://www.keplerproject.org/luafilesystem/" +license=('MIT') +depends=(lua) +source=(http://github.com/downloads/keplerproject/$pkgname/$pkgname-$pkgver.tar.gz + LICENSE) + +build() { + install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 + + cd "$srcdir/$pkgname-$pkgver" + + make || return 1 + install -Dm755 src/lfs.so "$pkgdir/usr/lib/lua/5.1/lfs.so" || return 1 +} +md5sums=('3cf4882bbce956e7a0b010f148f194a3' + 'beb2b58c4b5c2782304a5b0267a5651b') |