From 4aeb089088bc639e600a8093c16150d392b8ad0a Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 25 Jan 2011 21:28:23 -0600 Subject: testing/upower: promote to main --- main/upower/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 main/upower/APKBUILD (limited to 'main/upower') diff --git a/main/upower/APKBUILD b/main/upower/APKBUILD new file mode 100644 index 0000000000..3f66d09d61 --- /dev/null +++ b/main/upower/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Natanael Copa +pkgname=upower +pkgver=0.9.7 +pkgrel=0 +pkgdesc="Power Management Services" +url="http://upower.freedesktop.org" +arch="all" +license="GPL" +depends="" +subpackages="$pkgname-dev $pkgname-doc" +makedepends="gtk+-dev udev-dev libusb-dev polkit-dev dbus-glib-dev libxslt + docbook-xsl" +source="http://upower.freedesktop.org/releases/upower-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib/upower \ + --disable-static + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="d300a4bb4131cb88c9e06abe888f379f upower-0.9.7.tar.bz2" -- cgit v1.2.3