summaryrefslogtreecommitdiff
path: root/community/luafilesystem/PKGBUILD
blob: ebfdd18b602599670eddef264861038d95bdcfc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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' 'mips64el')
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')