summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJitang Zheng2016-08-12 10:47:46 -0700
committerJitang Zheng2016-08-12 10:47:46 -0700
commit2d27b3cb9f69b2f682b2b4dfe341419979dc2f94 (patch)
tree99ca6000610cb97ef2f8b1d611294d668ba56da1 /PKGBUILD
downloadaur-mstch.tar.gz
Bump version to 1.0.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bb2e2186e37
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Jitang Zheng <jitang.zheng@gmail.com>
+pkgname=mstch
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="mstch is a complete implementation of {{mustache}} templates using modern C++"
+arch=('x86_64' 'i686')
+url="https://github.com/no1msd/mstch"
+license=('MIT')
+depends=("boost")
+makedepends=('cmake')
+source=("https://github.com/no1msd/$pkgname/archive/$pkgver.tar.gz")
+md5sums=('306e7fead7480884f698ab47a6082e18')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$pkgdir/usr .
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make install
+}