aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-sensors-applet/APKBUILD
blob: 01cebd578361f984827a557cbbcd9b5da6da77da (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-sensors-applet
pkgver=1.21.0
pkgrel=1
pkgdesc="Applet for the MATE Panel to display readings from hardware sensors"
url="https://github.com/mate-desktop/mate-sensors-applet"
arch="all"
license="GPL-2.0-or-later"
depends="perl-xml-parser"
makedepends="intltool glib-dev gtk+3.0-dev mate-panel-dev libxslt-dev
	itstool libxml2-utils mdocml-dev libnotify-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="fb99c705b13d3e4b91d5ec33aa472c3359861246d17de484b7a9f43a69427fdef062a6aaabe0dad6c82b8bbd9985ff3626d654786a24cc0fc1762de211ad7920  mate-sensors-applet-1.21.0.tar.xz"