desktop/kcm-systemd/PKGBUILD

36 lines
979 B
Bash
Raw Normal View History

# 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
2014-07-27 22:58:00 +08:00
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
}
2014-07-27 22:58:00 +08:00