summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMagnus Boman2020-07-13 00:55:33 +0200
committerMagnus Boman2020-07-13 00:55:33 +0200
commit045b8320439b2ca5e105e2c42ca3e6b85dd7fc96 (patch)
tree3cd39d939e14c3205b326f077a1dafe6f0a2f6fc /PKGBUILD
parent4fc93eea792d722505bfeeb1b4e8e2b84be28a98 (diff)
downloadaur-045b8320439b2ca5e105e2c42ca3e6b85dd7fc96.tar.gz
powerdevil-light: sync with official package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5df72630ab1..ba5ac31c379 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani@gmail.com>
# Maintainer: Francois Menning <f.menning@pm.me>
+# Maintainer: katt <magunasu.b97@gmail.com>
+# Contributor: Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani@gmail.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Antonio Rojas
# Contributor: Lev Lybin <lev.lybin@gmail.com>
-_pkgname=powerdevil
pkgname=powerdevil-light
pkgver=5.19.3
pkgrel=1
@@ -16,9 +16,9 @@ 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})
+conflicts=("${pkgname%-light}")
+provides=("${pkgname%-light}")
+source=(https://download.kde.org/stable/plasma/"${pkgver}"/"${pkgname%-light}"-"${pkgver}".tar.xz{,.sig})
sha256sums=('f70032b2e0763d7e05fdc0a83711ab5d2802f925da156568afc208c75034ac0e'
'SKIP')
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr@jriddell.org>
@@ -26,22 +26,15 @@ validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr
'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
-prepare() {
- mkdir -p ${_pkgname}-$pkgver/build
-}
-
build() {
- cd ${_pkgname}-$pkgver/build
- cmake .. \
+ cmake -B build -S ${pkgname%-light}-${pkgver} \
-DKF5NetworkManagerQt_FOUND=OFF \
-DKF5BluezQt_FOUND=OFF \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
- -DCMAKE_VERBOSE_MAKEFILE=OFF \
-DBUILD_TESTING=OFF
- make
+ cmake --build build
}
package() {
- cd ${_pkgname}-$pkgver/build
- make DESTDIR="$pkgdir" install
+ DESTDIR="${pkgdir}" cmake --install build
}