diff options
Diffstat (limited to 'community/luafilesystem')
-rw-r--r-- | community/luafilesystem/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
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') |