summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f2f290c4d273044bd08f8ee94915607315649825 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Adapted for git by xavery <dkk089@gmail.com>, based on original PKGBUILD by :
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: tobias <tobias funnychar archlinux.org>

pkgname=xfce4-cpufreq-plugin-git
_gitname=xfce4-cpufreq-plugin
pkgver=1450.05848bb
pkgrel=1
pkgdesc="CPU frequency plugin for the Xfce4 panel"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
groups=('xfce4-goodies')
depends=('xfce4-panel>=4.7.4' 'libxfcegui4' 'hicolor-icon-theme')
makedepends=('intltool' 'git' 'xfce4-dev-tools' 'autoconf' 'libtool')
provides=('xfce4-cpufreq-plugin')
conflicts=('xfce4-cpufreq-plugin')
options=('!libtool')
install=${_gitname}.install
source=('git://git.xfce.org/panel-plugins/xfce4-cpufreq-plugin'
        ${_gitname}.install)
sha256sums=('SKIP'
            '72645ae7d2dfdc919becbda9e38c2c26e8d8047716fb324e46aa3f2cb3162473')

pkgver() {
  cd ${_gitname}
  git describe --always | sed 's|-|.|g'
}

build() {
  cd ${_gitname}
  mkdir m4
  NOCONFIGURE=1 ./autogen.sh
  ./configure --prefix=/usr \
  --sysconfdir=/etc \
  --libexecdir=/usr/lib \
  --localstatedir=/var \
  --disable-static \
  --disable-debug
  make
}

package() {
  cd ${_gitname}
  make DESTDIR=${pkgdir} install
}