aports/community/libcsys/APKBUILD

35 lines
926 B
Text

# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=libcsys
pkgver=5.0.0
pkgrel=0
pkgdesc="Library for managing drive and getting system resource information in real time"
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="udisks2"
makedepends="
qt6-qtbase-dev
cmake
samurai
"
source="https://gitlab.com/cubocore/libcsys/-/archive/v$pkgver/libcsys-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
5c97bef5db48b4a0d9b1b71dc0fd51b9cf46ce9feaa5650acac7152f8aefb5f89640198f3591c4f72ff4329df147a55c1f506d4b67dd9ac8c2c79b8abf5191e1 libcsys-v5.0.0.tar.gz
"