summaryrefslogtreecommitdiff
path: root/community/luaexpat/PKGBUILD
blob: 4b5663271516c4faf97c4e28702c0dd0ea862512 (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
29
30
# $Id: PKGBUILD 66195 2012-02-23 03:06:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Lucas Hermann Negri <kkndrox@gmail.com>

pkgname=luaexpat
pkgver=1.2.0
pkgrel=2
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://code.matthewwild.co.uk/lua-expat'
license=('MIT')
makedepends=('gcc' 'lua>=5.1' 'expat>=2')
depends=('lua' 'expat')
source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz"
	'newconfig')
md5sums=('03efe50c7f30a34580701e6527d7bfee'
         'b89a09379d3e46e6496255e44cecc316')

build() {
  cd $srcdir/
  mv newconfig $pkgname-$pkgver/config
  cd $pkgname-$pkgver
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
  mv usr $pkgdir
}