summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcondy09192016-06-12 21:02:29 +0800
committercondy09192016-06-12 21:02:29 +0800
commit8c5959c0b2a63973503a161d038d94e5f7a2adb3 (patch)
treee81fc37c6f6d6c41a4b693504e4d73ce676dcdc3
downloadaur-8c5959c0b2a63973503a161d038d94e5f7a2adb3.tar.gz
init
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD33
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..00c0be94b1a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sun Jun 12 12:53:54 UTC 2016
+pkgbase = crow-git
+ pkgdesc = Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
+ pkgver = r237.da4bb3a
+ pkgrel = 1
+ url = https://github.com/ipkn/crow
+ arch = any
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ makedepends = make
+ depends = boost
+ provides = crow
+ conflicts = crow
+ source = crow-git::git+https://github.com/ipkn/crow.git
+ md5sums = SKIP
+
+pkgname = crow-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c667dfa5dc2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: condy chen <condy0919@gmail.com>
+pkgname=crow-git
+pkgver=r237.da4bb3a
+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')
+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"
+}