summaryrefslogtreecommitdiff
path: root/extra/gnome-power-manager/PKGBUILD
blob: 5ae3c6c034d561fbf278a24bf0ae2e371814b548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 196489 2013-10-14 11:54:21Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-power-manager
pkgver=3.10.1
pkgrel=1
pkgdesc="System power information and statistics"
arch=(i686 x86_64 mips64el)
url="http://www.gnome.org/projects/gnome-power-manager/"
license=(GPL)
depends=(gtk3 upower dconf hicolor-icon-theme)
makedepends=(intltool)
options=(!emptydirs)
install=gnome-power-manager.install
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('71c79a2f74ca076153a4f2a5dfc28a1dcb9179722108644421033780950595e2')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var \
      --libexecdir=/usr/lib/gnome-power-manager \
      --disable-schemas-compile
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}