summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalte Veerman2016-04-10 15:52:59 +0200
committerMalte Veerman2016-04-10 15:52:59 +0200
commit6bb6353138b85bb10398a6ef0e49832c6f8b772c (patch)
tree54c351708540cc2afb4f60dc9bf74e94b57e3e7e
parent3f76d6b87828b36708a610f33810a64a89a12e48 (diff)
downloadaur-6bb6353138b85bb10398a6ef0e49832c6f8b772c.tar.gz
update
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD35
2 files changed, 22 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 157ada04229..c39ab449270 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Dec 20 22:12:20 UTC 2015
-pkgbase = fancontrol-kcm-git
- pkgdesc = KCM for the fancontrol script and systemd service
- pkgver = v0.3.r11.ge1e666b
+# Sun Apr 10 13:52:59 UTC 2016
+pkgbase = fancontrol-kcm
+ pkgdesc = KDE control module for the fancontrol script and systemd service
+ pkgver = v0.4
pkgrel = 1
url = https://github.com/Maldela/Fancontrol-GUI
arch = i686
@@ -11,11 +11,11 @@ pkgbase = fancontrol-kcm-git
makedepends = git
makedepends = gcc
makedepends = extra-cmake-modules
- depends = fancontrol-gui-git
- provides = fancontrol-kcm
- conflicts = fancontrol-kcm
- source = git://github.com/Maldela/fancontrol-gui.git
+ makedepends = make
+ depends = fancontrol-common=v0.4
+ depends = kdeclarative
+ source = fancontrol-gui::git+https://github.com/Maldela/fancontrol-gui.git#branch=0.4
md5sums = SKIP
-pkgname = fancontrol-kcm-git
+pkgname = fancontrol-kcm
diff --git a/PKGBUILD b/PKGBUILD
index 3bbf39b0272..80940b353b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,49 +2,40 @@
# Maintainer: Malte Veerman <maldela@halloarsch.de>
_srcname=fancontrol-gui
-pkgname=fancontrol-kcm-git
-pkgver=v0.3.r11.ge1e666b
+pkgname=fancontrol-kcm
+pkgver=v0.4
pkgrel=1
-pkgdesc="KCM for the fancontrol script and systemd service"
+pkgdesc="KDE control module for the fancontrol script and systemd service"
arch=('i686' 'x86_64')
url="https://github.com/Maldela/Fancontrol-GUI"
license=('GPL2')
-depends=('fancontrol-gui-git')
-makedepends=('git' 'gcc' 'extra-cmake-modules' )
-provides=('fancontrol-kcm')
-conflicts=('fancontrol-kcm')
-source=('git://github.com/Maldela/fancontrol-gui.git')
+depends=('fancontrol-common'=${pkgver} 'kdeclarative')
+makedepends=('git' 'gcc' 'extra-cmake-modules' 'make')
+source=('fancontrol-gui::git+https://github.com/Maldela/fancontrol-gui.git#branch=0.4')
md5sums=('SKIP')
-pkgver() {
- cd "$srcdir/$_srcname"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-prepare() {
- mkdir -p "$srcdir/$_srcname/build"
-}
-
build() {
msg "Starting build..."
- cd "$srcdir/$_srcname/build"
+ cd "$srcdir/$_srcname"
- cmake .. \
+ cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DBUILD_TESTING=off \
+ -DSTANDARD_CONFIG_FILE=/etc/fancontrol \
+ -DSTANDARD_SERVICE_NAME=fancontrol \
-DBUILD_GUI=off \
-DBUILD_KCM=on \
- -DINSTALL_SHARED=off \
- -DINSTALL_HELPER=off
+ -DBUILD_HELPER=off \
+ -DINSTALL_SHARED=off
make
}
package() {
- cd "$srcdir/$_srcname/build"
+ cd "$srcdir/$_srcname"
make DESTDIR="$pkgdir/" install
}