mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-07 17:02:22 +01:00
The package does not require valgrind to build, so do not add it to makedepends. This allows it to be built on riscv64.
27 lines
915 B
Plaintext
27 lines
915 B
Plaintext
# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
|
|
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
|
|
pkgname=mustach
|
|
pkgver=1.1.0
|
|
pkgrel=0
|
|
pkgdesc="C implementation of the mustache template specification"
|
|
url="https://gitlab.com/jobol/mustach"
|
|
arch="all !mips !mips64" # testsuite crashes on mips
|
|
license="Apache-2.0"
|
|
makedepends="json-c-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
|
|
source="https://gitlab.com/jobol/mustach/-/archive/1.1.0/mustach-1.1.0.tar.bz2"
|
|
restrict="!check" # test1 segfaults
|
|
|
|
build() {
|
|
make tool=jsonc libs=single
|
|
}
|
|
|
|
package() {
|
|
make -j1 DESTDIR="$pkgdir" PREFIX="/usr" install
|
|
|
|
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
|
|
install -m644 AUTHORS README.md \
|
|
"$pkgdir"/usr/share/doc/$pkgname/
|
|
}
|
|
sha512sums="efeffc9d0bfbc9ff3b9737226d4cc21d45d9deb50be3c6490e1dec12d2efc3eb78d3e3bfab54778c4269c1f4ffde86b471a0b9f315580b9fc4b5a517a5a8bd66 mustach-1.1.0.tar.bz2"
|