aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-cpufreq-plugin/APKBUILD
blob: e17b252f6f618f8e214505f0e2b377f98d554dcd (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.3
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 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="859122da0a8cd991ee2fbeee434bc948  xfce4-cpufreq-plugin-1.1.3.tar.bz2"
sha256sums="74a162c7e101db0495d5da147aba1f404c33544f04e8c34d7d1d705668102d33  xfce4-cpufreq-plugin-1.1.3.tar.bz2"
sha512sums="fe67abc120c0715b653258abbafab19386289ce0a373e5053e544484219c3b05aafe1e84a23721f6603043db5aac24dc1230f2e7d4974ec483d5120aca11ca25  xfce4-cpufreq-plugin-1.1.3.tar.bz2"