updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / luacurl / PKGBUILD
blob9949b41c73b74050dbf362af044ecc0415925c28
1 # Maintainer: Laszlo Papp <djszapi2 at gmail dot com>
2 pkgname=luacurl
3 pkgver=1.2.1
4 pkgrel=1
5 pkgdesc="Module providing Internet browsing capabilities based on the cURL library"
6 url="http://curl.haxx.se/libcurl/lua/"
7 license=('GPL')
8 arch=('i686')
9 source=(http://luaforge.net/frs/download.php/3342/$pkgname-$pkgver.zip)
10 md5sums=('4c83710a0fc5ca52818e5ec0101c4395')
12 build() {
13   cd ${srcdir}/${pkgname}-${pkgver}
14   cmake ${srcdir}/${pkgname}-${pkgver}
15   sed -i 's/\/usr\/local/\/usr/g' cmake_install.cmake
16   make || return 1
17   make DESTDIR=$pkgdir install || return 1