mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
The projects public home page and a public repo is now on gitlab. Bordeaux and Coventry will have to be upgraded after this, too. Everything is currently still only part of testing.
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Maintainer: David Sugar <tychosoft@gmail.com>
|
|
# Contributor: David Sugar <tychosoft@gmail.com>
|
|
pkgname=moderncli
|
|
pkgver=0.9.2
|
|
pkgrel=0
|
|
pkgdesc="Modern C++17 header-only library of includes"
|
|
url="https://gitlab.com/tychosoft/moderncli"
|
|
arch="noarch"
|
|
license="MIT"
|
|
makedepends="cmake fmt-dev openssl-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://www.tychosoft.com/api/packages/tychosoft/generic/moderncli/$pkgver/moderncli-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release .
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make install
|
|
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
|
|
install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
|
|
install -Dm644 FEATURES.md "$pkgdir"/usr/share/doc/$pkgname/FEATURES.md
|
|
}
|
|
|
|
sha512sums="
|
|
981f1d5205469ea111757d4b0dae0bb375651fcb25269e82364d777f9f387f1af0ad5d06711dc8e80355344380c2c7b36df9ed9c60ac4c2107c4181894964de6 moderncli-0.9.2.tar.gz
|
|
"
|