mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
30 lines
961 B
Bash
30 lines
961 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Anders Bergh <anders1@gmail.com>
|
||
|
|
||
|
pkgname=luasocket
|
||
|
pkgver=2.0.2
|
||
|
pkgrel=2
|
||
|
pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language."
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.cs.princeton.edu/~diego/professional/luasocket/"
|
||
|
license=('MIT')
|
||
|
depends=(lua)
|
||
|
source=(http://luaforge.net/frs/download.php/2664/luasocket-$pkgver.tar.gz
|
||
|
lua-license.html::http://www.lua.org/copyright.html
|
||
|
luasocket-arch.patch)
|
||
|
md5sums=('41445b138deb7bcfe97bff957503da8e'
|
||
|
'86e8c2db271955ad585b70b5a73861da'
|
||
|
'3270f42ff374f230c6450f49132f8625')
|
||
|
|
||
|
build() {
|
||
|
cd "$startdir/src/$pkgname-$pkgver"
|
||
|
|
||
|
patch -p1 < $startdir/src/luasocket-arch.patch
|
||
|
|
||
|
make || return 1
|
||
|
make DESTDIR="$startdir/pkg" install || return 1
|
||
|
|
||
|
install -D -m0644 $srcdir/lua-license.html $pkgdir/usr/share/licenses/$pkgname/lua-license.html
|
||
|
}
|