mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
820 B
Bash
31 lines
820 B
Bash
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
|
|
}
|