summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLev Lybin2020-01-09 02:13:57 +0700
committerLev Lybin2020-01-09 02:13:57 +0700
commitaecdf5566a04cff92b8b0d27bf8aad9a293159a7 (patch)
tree033188466699e83e3b6ad3169f1c3a88c0c32315 /PKGBUILD
parent44e867a751f638358217e6a3a1c28f3d13134361 (diff)
downloadaur-aecdf5566a04cff92b8b0d27bf8aad9a293159a7.tar.gz
upgpkg: 5.17.5-2, synced with original powerdevil
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD55
1 files changed, 29 insertions, 26 deletions
diff --git a/PKGBUILD b/PKGBUILD
index db2d41b0b95..13ff14eab0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,41 +8,44 @@
_pkgname=powerdevil
pkgname=powerdevil-light
pkgver=5.17.5
-pkgrel=1
-pkgdesc="Manages the power consumption settings of a Plasma Shell. Light version without NetworkManager and Bluez support/dependencies."
-arch=('i686' 'x86_64')
-url="https://www.kde.org/workspaces/plasmadesktop/"
-license=('LGPL')
-depends=('plasma-workspace' 'libkscreen')
-makedepends=('extra-cmake-modules' 'kdoctools')
-conflicts=('powerdevil')
-provides=('powerdevil')
-source=("https://download.kde.org/stable/plasma/${pkgver}/${_pkgname}-${pkgver}.tar.xz"{,.sig})
+pkgrel=2
+pkgdesc='Manages the power consumption settings of a Plasma Shell. Light version without NetworkManager and Bluez support/dependencies.'
+arch=(x86_64)
+url='https://www.kde.org/workspaces/plasmadesktop/'
+license=(LGPL)
+depends=(plasma-workspace)
+makedepends=(extra-cmake-modules kdoctools)
+groups=(plasma)
+conflicts=(powerdevil)
+provides=(powerdevil)
+source=("https://download.kde.org/stable/plasma/$pkgver/${_pkgname}-$pkgver.tar.xz"{,.sig})
sha256sums=('27904361e85e1267d933d8f0a0d3be4dc712099ed2eb3cf90959209a4443dd82'
'SKIP')
-validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr@jriddell.org>
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
- 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson (David at KDE) <davidedmundson@kde.org>
- '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin
+ 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
+ '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
prepare() {
- mkdir -p build
+ mkdir -p build
}
build() {
- cd build
- cmake ../${_pkgname}-${pkgver} \
- -DKF5NetworkManagerQt_FOUND=OFF \
- -DKF5BluezQt_FOUND=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_LIBDIR=lib \
- -DKDE_INSTALL_LIBEXECDIR=lib \
- -DCMAKE_VERBOSE_MAKEFILE=OFF \
- -DBUILD_TESTING=OFF
- make
+ cd build
+ cmake ../${_pkgname}-$pkgver \
+ -DKF5NetworkManagerQt_FOUND=OFF \
+ -DKF5BluezQt_FOUND=OFF \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DCMAKE_VERBOSE_MAKEFILE=OFF \
+ -DBUILD_TESTING=OFF
+ make
}
package() {
- cd build
- make DESTDIR="${pkgdir}" install
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
+prepare() {
+ mkdir -p build
}