PKGBUILDs/community/luafilesystem/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
819 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Anders Bergh <anders1@gmail.com>
pkgname=luafilesystem
pkgver=1.4.2
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)
# http://luaforge.net/frs/?group_id=66 for latest download ID
source=(http://luaforge.net/frs/download.php/3931/${pkgname}-${pkgver}.tar.gz
LICENSE)
md5sums=('8e7b2a9b899d669280456d0f95afd961'
'beb2b58c4b5c2782304a5b0267a5651b')
build() {
install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
cd $srcdir/$pkgname-$pkgver
make || return 1
install -Dm755 src/lfs.so $pkgdir/usr/lib/lua/5.1/lfs.so || return 1
}