[arch-commits] Commit in upower/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Sep 7 09:34:08 UTC 2019
Date: Saturday, September 7, 2019 @ 09:34:07
Author: arojas
Revision: 362011
archrelease: copy trunk to testing-x86_64
Added:
upower/repos/testing-x86_64/
upower/repos/testing-x86_64/PKGBUILD
(from rev 362010, upower/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: upower/repos/testing-x86_64/PKGBUILD (from rev 362010, upower/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-09-07 09:34:07 UTC (rev 362011)
@@ -0,0 +1,42 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=upower
+pkgver=0.99.11
+pkgrel=1
+pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
+url="https://upower.freedesktop.org"
+arch=(x86_64)
+license=(GPL)
+depends=(systemd libusb libimobiledevice libgudev)
+makedepends=(docbook-xsl gobject-introspection python git gtk-doc)
+backup=(etc/UPower/UPower.conf)
+_commit=e1548bba61206a05bbc318b3d49ae24571755ac6 # tags/UPOWER_0_99_11^0
+source=("git+https://gitlab.freedesktop.org/upower/upower.git#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed -e 's/UPOWER_//' -e 's/_/\./g' -e 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $pkgname
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib \
+ --disable-static \
+ --enable-gtk-doc
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list