diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-26 21:23:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-26 21:23:18 +0000 |
commit | 12a43ace8e21f120c7beef36e86cabf873aaa6ac (patch) | |
tree | ac2837f8d00ef000de2747f12551f30e5ec8d229 | |
parent | 9434dce3a87d03d6c2995d37ab230fdaf7bf2054 (diff) | |
download | aports-12a43ace8e21f120c7beef36e86cabf873aaa6ac.tar.bz2 aports-12a43ace8e21f120c7beef36e86cabf873aaa6ac.tar.xz |
testing/upower: new aport
Power Management Services
http://upower.freedesktop.org
-rw-r--r-- | testing/upower/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/upower/APKBUILD b/testing/upower/APKBUILD new file mode 100644 index 000000000..3f66d09d6 --- /dev/null +++ b/testing/upower/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +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" |