aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-cpufreq-plugin/APKBUILD
blob: 6ec757b54515e89744b4a95b24fead23d4bde51c (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpufreq-plugin
pkgver=0.0.1
pkgrel=2
pkgdesc="CPU frequency plugin for the Xfce4 panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
arch="x86 x86_64"
license="GPL2"
depends=
makedepends="xfce4-panel-dev libxfcegui4-dev"
install=
source="http://goodies.xfce.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/xfce4-cpu-freq-plugin-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make || return 1
}

package() {
	cd "$srcdir"/xfce4-cpu-freq-plugin-$pkgver
	make DESTDIR="$pkgdir" install
}
md5sums="7ad41541d8065aab941de7d62857aa8b  xfce4-cpufreq-plugin-0.0.1.tar.gz"