diff options
author | root <root@rshg054.dnsready.net> | 2012-02-23 23:15:11 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-23 23:15:11 +0000 |
commit | d466ef49f224a9347fe0375eac8126725e10a0a4 (patch) | |
tree | c08a9d7437c4d6de169858ac98fb340fd90202c2 /community/luafilesystem | |
parent | 1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (diff) |
Thu Feb 23 23:15:11 UTC 2012
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') |