summaryrefslogtreecommitdiff
path: root/community/luafilesystem/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/luafilesystem/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/luafilesystem/PKGBUILD')
-rw-r--r--community/luafilesystem/PKGBUILD25
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')