summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBruno Pagani2016-12-26 01:33:18 +0100
committerBruno Pagani2016-12-26 01:33:18 +0100
commit2f19e75411f03f615b5882448a25ec33f3a09b88 (patch)
treea9a805fb7732b87e8d7a134d2f1918ee640a7d26 /PKGBUILD
parentb46c28b84e58b5d9b514068e78ea58cfbc344c70 (diff)
downloadaur-2f19e75411f03f615b5882448a25ec33f3a09b88.tar.gz
Fix wrong pkgbase use
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dd6b4020b40..cec4175e3a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,19 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Antonio Rojas
-pkgbase=powerdevil
+_pkgname=powerdevil
pkgname=powerdevil-light
pkgver=5.8.4
pkgrel=1
-pkgdesc='Manages the power consumption settings of a Plasma Shell. Light version without NetworkManager and Bluez support/dependencies.'
+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/'
+url="https://www.kde.org/workspaces/plasmadesktop/"
license=('LGPL')
depends=('plasma-workspace' 'libkscreen')
makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'kdesignerplugin')
conflicts=('powerdevil')
provides=('powerdevil')
-source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgbase}-${pkgver}.tar.xz"{,.sig})
+source=("http://download.kde.org/stable/plasma/${pkgver}/${_pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('9e55f6405da947f7a8dd97b41acd2eafbb5d77fd1943d024e28935f951f22cac' 'SKIP')
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell
'348C8651206633FD983A8FC4DEACEA00075E1D76' # KDE Neon
@@ -27,7 +27,7 @@ prepare() {
build() {
cd build
- cmake ../${pkgbase}-${pkgver} \
+ cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKF5NetworkManagerQt_FOUND=OFF \
-DKF5BluezQt_FOUND=OFF \
@@ -38,7 +38,7 @@ build() {
make
}
-package_powerdevil-light() {
+package() {
cd build
make DESTDIR="${pkgdir}" install
}