blob: 2ef1df3aecbee595f75bbdb9399fd22faa82a01a (
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
31
32
|
# Maintainer: Philipp Claßen <philipp.classen@posteo.de>
pkgname=libhttpserver
pkgver=0.19.0
pkgrel=1
pkgdesc="C++ library for creating an embedded Rest HTTP server (and more)"
arch=('i686' 'x86_64')
url="https://github.com/etr/libhttpserver"
license=('BSD')
depends=(libmicrohttpd)
conflicts=(libhttpserver-git)
makedepends=(gcc libtool)
source=("https://github.com/etr/libhttpserver/archive/${pkgver}.tar.gz")
sha256sums=('b108769ed68d72c58961c517ab16c3a64e4efdc4c45687723bb45bb9e04c5193')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./bootstrap
mkdir -p build
cd build
../configure --prefix=$pkgdir/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd build
make install
}
|