# Maintainer: Jules PĂ©nuchot _name=kumi _author=jfalcou pkgname=${_name}-git pkgver=3.0.r45.g26b6da5 pkgrel=1 pkgdesc="C++20 Compact Tuple Tools" arch=('any') url="https://github.com/${_author}/${_name}" license=('Boost') depends=() makedepends=('git' 'cmake' 'make') provides=('kumi') conflicts=('kumi') source=("$pkgname::git+https://github.com/${_author}/${_name}.git#branch=main") sha256sums=('SKIP') pkgver() { cd $pkgname git describe --long --tags --match 'v*' | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//;' } prepare() { cmake -B build -S ${pkgname} \ -DCMAKE_BUILD_TYPE:STRING='None' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ -Wno-dev } package() { make -C build DESTDIR=$pkgdir install }