summaryrefslogtreecommitdiff
path: root/community/luafilesystem/PKGBUILD
blob: 7661c06989cd7cb8c7a1e790bd0354d9d554fdc6 (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
26
27
28
# $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=2
pkgdesc="File System Library for the Lua Programming Language"
arch=('i686' 'x86_64')
url="http://www.keplerproject.org/luafilesystem/"
license=('MIT')
depends=(lua)
source=(http://github.com/downloads/keplerproject/$pkgname/$pkgname-$pkgver.tar.gz
        LICENSE)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

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')