Permalink
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (27 sloc) 729 Bytes
# Maintainer: Paul Colomiets <paul@colomiets.name>
pkgname=libwebsite
pkgver=${VERSION}
pkgrel=1
pkgdesc="An http/websocket protocol implementation for fast web servers"
arch=('i686' 'x86_64')
url="http://github.com/tailhook/libwebsite"
license=('MIT')
depends=('libev' 'openssl')
checkdepends=('python3' 'cunit')
source=(https://github.com/tailhook/libwebsite/archive/v$pkgver.tar.gz)
md5sums=('${DIST_MD5}')
options=(staticlibs)
build() {
cd $srcdir/$pkgname-$pkgver
./waf configure --prefix=/usr
./waf build
}
check() {
cd $srcdir/$pkgname-$pkgver
./waf test
}
package() {
cd $srcdir/$pkgname-$pkgver
./waf install --destdir=$pkgdir
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}