blob: 08f247eb643bbbfa63f9795c9a0aea1e14c1db27 (
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
34
35
36
|
# Maintainer: Jules PĂ©nuchot <jules@penuchot.com>
_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
}
|