mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
786 B
Bash
31 lines
786 B
Bash
pkgname=kshutdown
|
|
pkgver=4.2
|
|
pkgrel=1
|
|
pkgdesc="Advanced shut down utility."
|
|
arch=('x86_64')
|
|
url="http://kshutdown.sourceforge.net/"
|
|
license=('GPL2')
|
|
depends=('kconfig' 'kconfigwidgets' 'kdbusaddons' 'kglobalaccel' 'ki18n' 'kidletime'
|
|
'knotifications' 'knotifyconfig' 'kxmlgui')
|
|
makedepends=('cmake' 'extra-cmake-modules')
|
|
categories=('utils')
|
|
install=$pkgname.install
|
|
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.zip)
|
|
sha256sums=('48e537b593fd2470c0cfeca7c2c48ac3221fdb48b0fb89bfb898e4faf531ee46')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
mkdir build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKS_KF5=ON ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|