aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-sensors-applet/APKBUILD
blob: ac149cdda0d8a8b1bee1b450d35545a6cfb27f6d (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
27
28
29
30
31
32
33
34
35
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-sensors-applet
pkgver=1.22.1
pkgrel=0
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

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

sha512sums="4b6e608c92f03051044863f770b295d1526b19a9668513b566e81adeb28bc8524d8f458d114d2b44acf00f20c2f0a8d86b1ca7254fa165fde3b867c75a6b83e6  mate-sensors-applet-1.22.1.tar.xz"