mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
36 lines
979 B
Bash
36 lines
979 B
Bash
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
|
|
# Contributor: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
|
# Contributor: https://aur.archlinux.org/packages/kcmsystemd/
|
|
# Contributor from [ccr]: msx <archlinux.us: msx>
|
|
|
|
pkgname=kcm-systemd
|
|
_pkgname=kcmsystemd
|
|
pkgver=1.1.0
|
|
pkgrel=1
|
|
pkgdesc="Systemd control module for KDE"
|
|
arch=('x86_64')
|
|
url='https://github.com/rthomsen/kcmsystemd'
|
|
screenshot="http://wstaw.org/m/2013/11/19/screen27.png"
|
|
license=('GPL')
|
|
depends=('kconfigwidgets' 'kcoreaddons' 'ki18n' 'kauth' 'boost-libs')
|
|
makedepends=('extra-cmake-modules' 'python3' 'boost')
|
|
source=("https://github.com/rthomsen/$_pkgname/archive/$pkgver.tar.gz")
|
|
md5sums=('8d385b1b2f9c0f054a8de16a50dcbaaa')
|
|
|
|
build() {
|
|
mkdir -p build
|
|
cd build
|
|
cmake ../$_pkgname-$pkgver \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|