From ed3a403de57037604d456801d23448598c0b10fc Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 9 Oct 2013 18:12:20 +0000
Subject: [PATCH] main/upower: upgrade to 0.9.22

---
 main/upower/APKBUILD | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/main/upower/APKBUILD b/main/upower/APKBUILD
index dc78ee1e767c..ad05f9784320 100644
--- a/main/upower/APKBUILD
+++ b/main/upower/APKBUILD
@@ -1,13 +1,13 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=upower
-pkgver=0.9.20
-pkgrel=1
+pkgver=0.9.22
+pkgrel=0
 pkgdesc="Power Management Services"
 url="http://upower.freedesktop.org"
 arch="all"
 license="GPL"
 depends=""
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
 makedepends="gtk+-dev udev-dev libusbx-dev polkit-dev dbus-glib-dev libxslt
 	docbook-xsl"
 source="http://upower.freedesktop.org/releases/upower-$pkgver.tar.xz"
@@ -16,12 +16,11 @@ _builddir="$srcdir"/$pkgname-$pkgver
 
 prepare() {
 	cd "$_builddir"
-	update_config_sub || return 1
 }
 
 build() {
 	cd "$srcdir/$pkgname-$pkgver"
-	./configure \
+	DATADIRNAME=share ./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
 		--prefix=/usr \
@@ -39,6 +38,6 @@ package() {
 	rm -f "$pkgdir"/usr/lib/*.la
 }
 
-md5sums="f175984d142dc8d2353a7da609836b69  upower-0.9.20.tar.xz"
-sha256sums="6817237486561294b1004a9a50a01a4d69f17e8d708c6baf9d92104fe2e6e184  upower-0.9.20.tar.xz"
-sha512sums="d78fc0f53a89e72753c6807ccec70209efa0660c9b93ecdf450c43d33a6f8e39e55ad790ce19c67d335ec137655cf701b09069dbfc68707a8ba6fdbda72fde72  upower-0.9.20.tar.xz"
+md5sums="22b0b13c16ceb1516b5edf5cf0e99d6d  upower-0.9.22.tar.xz"
+sha256sums="d31e81b5123c597df1bd246a371dd5eec88b3fdef5f514086f153577e3215f11  upower-0.9.22.tar.xz"
+sha512sums="48a85d007fa2b7e07772b8641f1b71e88b11b1fde708f6ea321df74743f3c8901eefa4eb4369dcc9a63d89b2203fa81cc872ff6b905ff6be501bca6d92f54f3a  upower-0.9.22.tar.xz"
-- 
GitLab