blob: 808e41f748096633a1a680c2e9482e665eba81b4 (
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
33
|
# Maintainer: condy chen <condy0919@gmail.com>
pkgname=crow-git
pkgver=r351.16a0f6b
pkgrel=1
pkgdesc='Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)'
arch=('any')
url="https://github.com/ipkn/crow"
license=('GPL')
depends=('boost')
makedepends=('git' 'cmake' 'make' 'boost' 'python')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
optoptions=('gperftools: Fast, multi-threaded malloc and nifty performance analysis tools')
source=("${pkgname}"::'git+https://github.com/ipkn/crow.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname}"
mkdir build -p
cd build
cmake ..
make
}
package() {
cd "$srcdir/${pkgname}"
install -Dm644 "build/amalgamate/crow_all.h" "$pkgdir/usr/include/crow.h"
}
|