mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 00:17:46 +08:00
diskmonitor: import at v0.3.1.
This commit is contained in:
parent
17a795e04f
commit
9e2daafdbb
30
diskmonitor/PKGBUILD
Normal file
30
diskmonitor/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
pkgname=diskmonitor
|
||||
pkgver=0.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="KDE tools to monitor SMART devices and MDRaid health status"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/papylhomme/diskmonitor"
|
||||
license=('GPL2')
|
||||
depends=('udisks2' 'ki18n' 'kiconthemes' 'knotifications' 'kxmlgui' 'qt5-base' 'plasma-framework')
|
||||
makedepends=('cmake' 'extra-cmake-modules')
|
||||
source=(https://github.com/papylhomme/${pkgname}/archive/${pkgver}.tar.gz)
|
||||
md5sums=('40c1e8b93d4ad6b5532584e3172ece2e')
|
||||
|
||||
build () {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
[ -e build ] || mkdir build
|
||||
|
||||
cd build
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user