aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xfce4-sensors-plugin/APKBUILD
blob: d7ebe0f121e5f37ea674b77c14042f96afa2fd5c (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-sensors-plugin
pkgver=1.3.90
pkgrel=0
pkgdesc="Reads your hardware sensor values and displays them in your panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
arch="all"
license="GPL-2.0"
depends_dev="xfce4-panel-dev lm_sensors-dev libxfce4ui-dev"
makedepends="$depends_dev bash"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

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

sha512sums="692bcaad876323627a882f5e6e535f547e8eff59676a0586c86496abe410d395fd4f049febcd9c8bd774eed9713d5e12e3f13d5eda91c888eb165fc7bcf8c294  xfce4-sensors-plugin-1.3.90.tar.bz2"