aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-cpufreq-plugin/APKBUILD
blob: 4f134440aeee198713f5297a9cc9bab4f51da83b (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpufreq-plugin
pkgver=0.0.1
pkgrel=0
pkgdesc="CPU frequency plugin for the Xfce4 panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
license="GPL2"
depends=
makedepends="pkgconfig xfce4-panel-dev intltool libsm-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"