diff options
author | Antonio Rojas | 2018-05-30 21:58:01 +0000 |
---|---|---|
committer | Antonio Rojas | 2018-05-30 21:58:01 +0000 |
commit | 492d33a7081ba717caa54b145bc940ad90c8c949 (patch) | |
tree | bc177f8a2876e2d2d94b675fd9975f36230d6d9f | |
download | aur-492d33a7081ba717caa54b145bc940ad90c8c949.tar.gz |
Dropped from repos
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b6c967e5c3eb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = systemd-kcm + pkgdesc = Systemd control module for KDE + pkgver = 1.2.1 + pkgrel = 3 + url = https://github.com/rthomsen/kcmsystemd + arch = x86_64 + license = GPL + makedepends = extra-cmake-modules + depends = kio + source = http://download.kde.org/stable/systemd-kcm/systemd-kcm-1.2.1.tar.xz + sha256sums = 51960f4d3b4a1ceae28737c172c35aec8c1f4e534327fbc6dda76f1c17341389 + +pkgname = systemd-kcm + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..deb32e7a918e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 316317 2018-04-14 20:11:35Z arojas $ +# Maintainer: Antonio Rojas <arojas@archlinux.org> + +pkgname=systemd-kcm +pkgver=1.2.1 +pkgrel=3 +pkgdesc="Systemd control module for KDE" +arch=(x86_64) +url='https://github.com/rthomsen/kcmsystemd' +license=(GPL) +depends=(kio) +makedepends=(extra-cmake-modules) +source=("http://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz") +sha256sums=('51960f4d3b4a1ceae28737c172c35aec8c1f4e534327fbc6dda76f1c17341389') + +prepare() { + mkdir -p build + +# fix kdesu path (FS#44396) + sed -e 's|/lib/libexec/kdesu|/lib/kf5/kdesu|' -i $pkgname-$pkgver/src/kcmsystemd.cpp +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |