aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-cpufreq-plugin/APKBUILD
blob: 56e49f7b18665fe49af5314a23e66a2adb6bba5e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpufreq-plugin
pkgver=1.1.2
pkgrel=0
pkgdesc="CPU frequency plugin for the Xfce4 panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
arch="all"
license="GPL2"
depends=
makedepends="xfce4-panel-dev libxfce4ui-dev"
install=
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/${pkgver%.*}/xfce4-cpufreq-plugin-${pkgver}.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}
md5sums="bfc4c8277cb009439fb4c7aec8679126  xfce4-cpufreq-plugin-1.1.2.tar.bz2"
sha256sums="fd9ca91b99e830c6b0962a07eb269ce814ed773cd6008081771fd04060fe6ce9  xfce4-cpufreq-plugin-1.1.2.tar.bz2"
sha512sums="5192ca56463b88d43377411cf694d4ae840e53949923117cfbaa0e14dc5810df706463ce807343692aabcdffb67e945987d7297d2d3f53269a04e454aa648f81  xfce4-cpufreq-plugin-1.1.2.tar.bz2"