summaryrefslogtreecommitdiff
path: root/community/luaexpat/PKGBUILD
blob: e0f61fa827ec840c4a962c945cab83173d85be2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Lucas Hermann Negri <kkndrox@gmail.com>
pkgname='luaexpat'
pkgver='1.1'
pkgrel='3'
pkgdesc='LuaExpat is a SAX XML parser based on the Expat library. LuaExpat is free software and uses the same license as Lua 5.0.'
arch=('i686' 'x86_64')
url='http://luaforge.net/projects/luaexpat/'
license=('MIT')
makedepends=('gcc' 'lua>=5.1' 'expat>=2')
depends=('lua' 'expat')
source=(http://luaforge.net/frs/download.php/2469/$pkgname-$pkgver.tar.gz 'newconfig')
md5sums=('6ecb895ccf5cff1e7f2facd438b1f8d0' 'b89a09379d3e46e6496255e44cecc316')

build() {    
    cd $startdir/src/
    mv newconfig $pkgname-$pkgver/config
    cd $pkgname-$pkgver
	make || return 1
	make DESTDIR=$startdir/pkg install || return 1
	mv usr $startdir/pkg
}