summaryrefslogtreecommitdiffstats
path: root/main/xfce4-cpufreq-plugin/APKBUILD
blob: 3cefd93739c97d5703c1136e7d42c0981aca9d05 (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
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpufreq-plugin
pkgver=1.1.1
pkgrel=1
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
	rm "$pkgdir"/usr/lib/xfce4/panel/plugins/*.la || return 1
}
md5sums="cc3447ee6663f2946fce86308ba3566b  xfce4-cpufreq-plugin-1.1.1.tar.bz2"
sha256sums="474c45c007e65bfc107d6bcc902330c5e964906e6da120af48f7e2dba7f5cae7  xfce4-cpufreq-plugin-1.1.1.tar.bz2"
sha512sums="b53976380cc5b63f945e19892999a7b6b0e6b0af8fd7cf69bac407f617a23efe4e33c7fc88af19683fb7bbaf515c96d63e6f009ab94e822a553b8bc0c545f6be  xfce4-cpufreq-plugin-1.1.1.tar.bz2"