mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
community/zug: new aport
This commit is contained in:
parent
d08b845cf7
commit
4b999ea050
36
community/zug/APKBUILD
Normal file
36
community/zug/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=zug
|
||||
pkgver=0.1.1
|
||||
pkgrel=0
|
||||
pkgdesc="Transducers for C++"
|
||||
url="https://sinusoid.es/zug"
|
||||
arch="noarch"
|
||||
license="BSL-1.0"
|
||||
makedepends="
|
||||
catch2
|
||||
cmake
|
||||
samurai
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/arximboldi/zug/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="!check" # Calls test executables unconditionally if they have been built or not
|
||||
|
||||
build() {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
1348a0bdd7aed1a590287ff3a1c45c0cb1aef2aca12dc37e77705c2b2015704f766fac82833fa28beb79efe00f6ff63ee1dcb220cdc43517f625ba5edecc090c zug-0.1.1.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user