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

Jan Steffens heftig at archlinux.org
Wed Aug 29 21:43:33 UTC 2012


    Date: Wednesday, August 29, 2012 @ 17:43:32
  Author: heftig
Revision: 165781

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

Added:
  upower/repos/testing-i686/
  upower/repos/testing-i686/PKGBUILD
    (from rev 165780, upower/trunk/PKGBUILD)
  upower/repos/testing-x86_64/
  upower/repos/testing-x86_64/PKGBUILD
    (from rev 165780, upower/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: upower/repos/testing-i686/PKGBUILD (from rev 165780, upower/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-08-29 21:43:32 UTC (rev 165781)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=upower
+pkgver=0.9.18
+pkgrel=1
+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=('bfaaa1e7f8479fca5594406b3c36dff9')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # put udev files in /usr/lib
+  sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --disable-static
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}

Copied: upower/repos/testing-x86_64/PKGBUILD (from rev 165780, upower/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-08-29 21:43:32 UTC (rev 165781)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=upower
+pkgver=0.9.18
+pkgrel=1
+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=('bfaaa1e7f8479fca5594406b3c36dff9')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  # put udev files in /usr/lib
+  sed -i "/slashlibdir=/s#/lib#/usr/lib#" configure
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname \
+    --disable-static
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}




More information about the arch-commits mailing list