mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
679 B
Bash
31 lines
679 B
Bash
# Maintainer: Adrián Chaves Fernández (Gallaecio)
|
|
|
|
pkgname=kshutdown
|
|
pkgver=3.2
|
|
pkgrel=3
|
|
pkgdesc="Advanced shut down utility."
|
|
arch=('x86_64')
|
|
url="http://kshutdown.sourceforge.net/"
|
|
license=('GPL2')
|
|
depends=('kde-runtime')
|
|
makedepends=('cmake' 'automoc4')
|
|
categories=('utils')
|
|
install=$pkgname.install
|
|
source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-source-$pkgver.zip)
|
|
md5sums=('3006cb06fb9538eb5fdb0363fc22ae73')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
mkdir build && cd build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|