summaryrefslogtreecommitdiffstats
path: root/main/xfce4-cpufreq-plugin/APKBUILD
blob: 13ec1b3e45b41d9da71be3e204dd1614667c9a39 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpufreq-plugin
pkgver=1.0.0
pkgrel=2
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 libxfcegui4-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="24cae9b8583cae82b715b4f72aa8e341  xfce4-cpufreq-plugin-1.0.0.tar.bz2"