2014-05-27 09:44:29 +08:00
|
|
|
# Maintainer: 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
|
2014-07-27 22:58:00 +08:00
|
|
|
pkgver=0.7.0
|
|
|
|
pkgrel=1
|
2014-05-27 09:44:29 +08:00
|
|
|
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=('kde-workspace' 'boost-libs')
|
|
|
|
makedepends=('cmake' 'automoc4' 'boost')
|
|
|
|
source=("https://github.com/rthomsen/$_pkgname/archive/$pkgver.tar.gz")
|
2014-07-27 22:58:00 +08:00
|
|
|
md5sums=('6506596175e31e24d67f042ac450c2d6')
|
2014-05-27 09:44:29 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $_pkgname-$pkgver
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) -DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $_pkgname-$pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|
2014-07-27 22:58:00 +08:00
|
|
|
|