aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-cpufreq-plugin/APKBUILD
blob: a1397f4c29b43c3f9fa4592f9c61bd20671d9ed5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpufreq-plugin
pkgver=1.2.7
pkgrel=0
pkgdesc="CPU frequency plugin for the Xfce4 panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev libxfce4ui-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/${pkgver%.*}/xfce4-cpufreq-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
6bb7f5790d3ba9756afcb47cde40420453afe191fa111e390f2ad9780f3ab51ac2c6a69586303e9a5d1fb7d1af3eda3dad93f10df072f9ae59e47fc2216db434  xfce4-cpufreq-plugin-1.2.7.tar.bz2
"