aboutsummaryrefslogtreecommitdiff
path: root/xfce4-cpufreq-plugin/Pkgfile
blob: c5ba503dbd06d04a76ceac81ffd00c439e4175c7 (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
# Description: A cpufreq and governor plugin for the xfce-panel
# URL: https://xfce.org
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: xfce4-panel

name=xfce4-cpufreq-plugin
version=1.3.0
release=1
source=(https://archive.xfce.org/src/panel-plugins/$name/${version:0:3}/$name-$version.tar.xz)

build() {

	meson setup $name-$version build \
		--prefix=/usr \
		--libexecdir=/usr/lib \
		--sysconfdir=/etc \
		--buildtype=plain \
		-Db_lto=true \
		-Db_pie=true

	meson compile -C build
	DESTDIR=$PKG meson install -C build

	rm -rf $PKG/usr/share/locale

}