[arch-commits] Commit in upower/repos (4 files)

Tom Gundersen tomegun at nymeria.archlinux.org
Sat May 11 12:05:43 EDT 2013


    Date: Saturday, May 11, 2013 @ 18:05:43
  Author: tomegun
Revision: 185164

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  upower/repos/staging-i686/
  upower/repos/staging-i686/PKGBUILD
    (from rev 185163, upower/trunk/PKGBUILD)
  upower/repos/staging-x86_64/
  upower/repos/staging-x86_64/PKGBUILD
    (from rev 185163, upower/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: upower/repos/staging-i686/PKGBUILD (from rev 185163, upower/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-11 16:05:43 UTC (rev 185164)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=upower
+pkgver=0.9.20
+pkgrel=2
+pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
+arch=('i686' 'x86_64')
+url="http://upower.freedesktop.org"
+license=('GPL')
+depends=('systemd-tools' 'libsystemd' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'systemd')
+options=('!libtool')
+source=($url/releases/$pkgname-$pkgver.tar.xz)
+md5sums=('f175984d142dc8d2353a7da609836b69')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # put udev files in /usr/lib
+  # should be dropped as of 0.9.21!!
+  sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --disable-static \
+    --enable-deprecated
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: upower/repos/staging-x86_64/PKGBUILD (from rev 185163, upower/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-11 16:05:43 UTC (rev 185164)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=upower
+pkgver=0.9.20
+pkgrel=2
+pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
+arch=('i686' 'x86_64')
+url="http://upower.freedesktop.org"
+license=('GPL')
+depends=('systemd-tools' 'libsystemd' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'systemd')
+options=('!libtool')
+source=($url/releases/$pkgname-$pkgver.tar.xz)
+md5sums=('f175984d142dc8d2353a7da609836b69')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # put udev files in /usr/lib
+  # should be dropped as of 0.9.21!!
+  sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --disable-static \
+    --enable-deprecated
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list