blob: d9a98a208c66307547f16518f4daf319e112ad75 (
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
|
# C implementation of mustache templating (by José Bollo)
# Maintainer: Dominik Kummer <devel@arkades.org>
pkgname=mustach-git
pkgver=r226.32ba6c6
pkgrel=1
pkgdesc="mustach is a C implementation of the mustache template specification."
arch=('x86_64' 'aarch64')
url="https://gitlab.com/jobol/mustach/"
license=('ISC')
depends=('json-c')
makedepends=('gcc' 'make' 'json-c')
checkdepends=()
optdepends=('jansson' 'cjson')
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
source=("${pkgname}::git+https://gitlab.com/jobol/${pkgname%-git}.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
# no tags are reachable from HEAD
printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}
build() {
cd "${pkgname}"
make
}
package() {
cd "${pkgname}"
make DESTDIR="$pkgdir/" PREFIX=/usr install
}
|