aboutsummaryrefslogblamecommitdiffstats
path: root/community/libcsys/APKBUILD
blob: 65182f5a68646e4ffdcd00e475d34d24945b4de0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                    
            
        
                                                                                         
                                  
                                 

                            
                                        
                                                                                                                




                                    




                                             


           
                                       
 
                                                                                                                                                                   
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=libcsys
pkgver=4.2.0
pkgrel=0
pkgdesc="Library for managing drive and getting system resource information in real time"
arch="all !s390x !mips64" # polkit
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtbase udisks2"
makedepends="qt5-qtbase-dev cmake ninja"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/libcsys/-/archive/v$pkgver/libcsys-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	cmake ../$pkgname-v$pkgver \
		-GNinja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	ninja
}

package() {
	DESTDIR="$pkgdir" ninja install
}
sha512sums="ff9b98788f094db7d9574bf507049596a9a46e7532ede806b1e0369d77934e2d74d451f7d5ffd77bf2111c4a4fd8aea47ea86ef44a316bd2f211e955fb1cafaa  libcsys-4.2.0.tar.gz"