aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-power-manager/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-08 14:59:46 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-08 13:06:07 -0300
commit3263beaa01b0b1b76ef413606c95d3fe034127c4 (patch)
treef95362181cc44653f3f8e54a3ad97c008cc8a890 /community/gnome-power-manager/APKBUILD
parent747794a5a321f899e181cb398ab320f86a139c45 (diff)
downloadaports-3263beaa01b0b1b76ef413606c95d3fe034127c4.tar.bz2
aports-3263beaa01b0b1b76ef413606c95d3fe034127c4.tar.xz
community/gnome-power-manager: upgrade to 3.32.0
* Modernize * Adopt maintainership * Remove stale patches * Fix URL&License * Remove unneccesary install scritps
Diffstat (limited to 'community/gnome-power-manager/APKBUILD')
-rw-r--r--community/gnome-power-manager/APKBUILD42
1 files changed, 15 insertions, 27 deletions
diff --git a/community/gnome-power-manager/APKBUILD b/community/gnome-power-manager/APKBUILD
index 33a52bce0e..dd5628d9e4 100644
--- a/community/gnome-power-manager/APKBUILD
+++ b/community/gnome-power-manager/APKBUILD
@@ -1,43 +1,31 @@
-# Contributor:
-# Maintainer:
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-power-manager
-pkgver=3.30.0
+pkgver=3.32.0
pkgrel=0
pkgdesc="GNOME power manager"
-url="http://www.gnome.org"
+url="https://gitlab.gnome.org/GNOME/gnome-power-manager"
arch="all"
-license="GPL"
-makedepends="intltool gobject-introspection-dev
- upower-dev gtk+3.0-dev meson"
+license="GPL-2.0-or-later"
+makedepends="intltool gobject-introspection-dev upower-dev gtk+3.0-dev meson"
subpackages="$pkgname-lang"
-install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
-builddir="${srcdir}/${pkgname}-${pkgver}"
-
-prepare() {
- default_prepare
- cd "$builddir"
- mkdir -p build
-}
-
-check() {
- cd "$builddir"/build
- ninja test
-}
build() {
- cd "$builddir"/build
meson \
--prefix=/usr \
--buildtype=release \
- --sysconfdir=/etc ..
- ninja
+ --sysconfdir=/etc \
+ output .
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
}
package() {
- cd "$builddir"/build
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="ed0e2a20bd8979fd9064cea9f4485da832eb44a2c727e39cde5ca9f9e2eb75a37e3d1b5a2181d9c666c19b1b300cbc62cd5f9e2c3f36ee4a4dfc3e1537a10329 gnome-power-manager-3.30.0.tar.xz"
+sha512sums="0ea11085dd015e30c1bdc6913000b63eabf7df76720f2d51d63b075f3b7bd2a610aaa484c53a4092d78d3c484ed8c4e81ec66603bdc6c132b0316113ec6a24a0 gnome-power-manager-3.32.0.tar.xz"