aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-applets/APKBUILD
blob: e1b6c152f922cb236fcc3d6b884dfb116ab7c3e4 (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
39
40
41
42
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-applets
pkgver=1.22.1
pkgrel=0
pkgdesc="Applets for use with the MATE panel"
url="https://github.com/mate-desktop/mate-applets"
arch="all"
license="GPL-2.0-or-later"
depends="mate-icon-theme"
makedepends="intltool gtk+3.0-dev mate-panel-dev libwnck3-dev
	mate-desktop-dev dconf-dev itstool linux-headers libxml2-dev
	libxml2-utils libgtop-dev libmateweather-dev wireless-tools-dev
	gucharmap-dev libnotify-dev polkit-dev upower-dev"
subpackages="$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 \
		--prefix=/usr \
		--enable-static=no \
		--enable-polkit \
		--disable-stickynotes
	make
}

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

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

sha512sums="d132c8b5e433a557785745032235a5792d04edd7c249269d9a4066fb345b76955bdca71164f7b321f41f566803694d85d9cd7690fbd699daa54788572f0eb986  mate-applets-1.22.1.tar.xz"