From d466ef49f224a9347fe0375eac8126725e10a0a4 Mon Sep 17 00:00:00 2001
From: root <root@rshg054.dnsready.net>
Date: Thu, 23 Feb 2012 23:15:11 +0000
Subject: Thu Feb 23 23:15:11 UTC 2012

---
 community/luafilesystem/PKGBUILD | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

(limited to 'community/luafilesystem')

diff --git a/community/luafilesystem/PKGBUILD b/community/luafilesystem/PKGBUILD
index 49266f90b..7661c0698 100644
--- a/community/luafilesystem/PKGBUILD
+++ b/community/luafilesystem/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 15894 2010-04-17 20:42:12Z cbrannon $
+# $Id: PKGBUILD 66063 2012-02-22 17:23:57Z 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
+pkgrel=2
 pkgdesc="File System Library for the Lua Programming Language"
 arch=('i686' 'x86_64')
 url="http://www.keplerproject.org/luafilesystem/"
@@ -14,12 +14,15 @@ source=(http://github.com/downloads/keplerproject/$pkgname/$pkgname-$pkgver.tar.
         LICENSE)
 
 build() {
-  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
-
   cd "$srcdir/$pkgname-$pkgver"
+  make
+}
 
-  make || return 1
-  install -Dm755 src/lfs.so "$pkgdir/usr/lib/lua/5.1/lfs.so" || return 1
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm755 src/lfs.so "$pkgdir/usr/lib/lua/5.1/lfs.so"
 }
+
 md5sums=('3cf4882bbce956e7a0b010f148f194a3'
          'beb2b58c4b5c2782304a5b0267a5651b')
-- 
cgit v1.2.3-54-g00ecf