summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-03-20 04:59:58 +0200
committerDimitris Kiziridis2020-03-20 04:59:58 +0200
commit0686b0a0f54a8f8418b90b2cf62125ef6cbb6c70 (patch)
tree7afc71a06a3f16325fe85a63daa13429ce0b6e0f
parentebe7b177cc83960289066203c94084c6762b2a54 (diff)
downloadaur-0686b0a0f54a8f8418b90b2cf62125ef6cbb6c70.tar.gz
Update
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD20
2 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f2a5ecda4cd..d99b5d7e254 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = powerkit
pkgdesc = A Lightweight Desktop Independent full featured power manager
pkgver = 1.0.0
- pkgrel = 3
+ pkgrel = 6
url = https://github.com/rodlie/powerkit
arch = x86_64
license = BSD 3-Clause
diff --git a/PKGBUILD b/PKGBUILD
index 93c68336add..2daf3ed9074 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,28 +2,30 @@
pkgname=('powerkit')
pkgver=1.0.0
-pkgrel=3
-pkgdesc="A Lightweight Desktop Independent full featured power manager"
+pkgrel=6
+pkgdesc='A Lightweight Desktop Independent full featured power manager'
arch=('x86_64')
-url="https://github.com/rodlie/powerkit"
+url='https://github.com/rodlie/powerkit'
license=('BSD 3-Clause')
depends=('xscreensaver' 'upower')
makedepends=('xss' 'xorg-xrandr' 'qt5-base')
optdepends=('adwaita-icon-theme')
provides=('powerkit')
-source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz")
+source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('e5a613f2219c0491d1bdae1fa1afe4d5')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ msg2 'Building powerkit ...'
+ cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build
- cd "$srcdir/$pkgname-$pkgver/build"
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
qmake PREFIX="/usr" CONFIG+=install_udev_rules CONFIG+=bundle_icons ..
make
}
package() {
- cd "$pkgname-$pkgver/build"
- make INSTALL_ROOT="$pkgdir" install
+ msg2 'Installing powerkit ...'
+ cd "${pkgname}-${pkgver}/build"
+ make INSTALL_ROOT="${pkgdir}" install
}
-# vim:set ts=2 sw=2 et:
+# vim:set ts=2 sw=2 et: \ No newline at end of file