diff options
author | root <root@rshg047.dnsready.net> | 2011-06-07 22:47:46 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-07 22:47:46 +0000 |
commit | 4d91fc9a2dc38054b8748f27193dc3a6950bda3c (patch) | |
tree | d7af2e15a96d98c0495de0d066c0204c6947778c /community/luaexpat/PKGBUILD | |
parent | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff) |
Tue Jun 7 22:47:46 UTC 2011
Diffstat (limited to 'community/luaexpat/PKGBUILD')
-rw-r--r-- | community/luaexpat/PKGBUILD | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/community/luaexpat/PKGBUILD b/community/luaexpat/PKGBUILD index e0f61fa82..a69a617b8 100644 --- a/community/luaexpat/PKGBUILD +++ b/community/luaexpat/PKGBUILD @@ -1,22 +1,28 @@ # Contributor: Lucas Hermann Negri <kkndrox@gmail.com> -pkgname='luaexpat' -pkgver='1.1' -pkgrel='3' + +pkgname=luaexpat +pkgver=1.2.0 +pkgrel=1 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/' +url='http://code.matthewwild.co.uk/lua-expat' 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') +source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz" + 'newconfig') +md5sums=('03efe50c7f30a34580701e6527d7bfee' + '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 + cd $startdir/src/ + mv newconfig $pkgname-$pkgver/config + cd $pkgname-$pkgver + make } +package() { + cd $startdir/src/$pkgname-$pkgver + make DESTDIR=$startdir/pkg install + mv usr $startdir/pkg +} |