aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-indicator-applet/APKBUILD
blob: 64726843fcc0abe8e1e59a5a5ca6b52f229bb0ec (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
43
44
45
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-indicator-applet
pkgver=1.20.1
pkgrel=0
pkgdesc="A small applet to display information from various applications consistently in the panel"
url="https://github.com/mate-desktop/mate-indicator-applet"
arch="all"
license="GPL-3.0 LGPL-2.1"
makedepends="autoconf automake libtool mate-common glib-dev 
	gtk+3.0-dev mate-panel-dev intltool libindicator-dev"
subpackages="$pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$builddir"
	default_prepare
	NOCONFIGURE=1 ./autogen.sh
}

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

}

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

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

sha512sums="8e20761ec3b9f8be2ba972e732d4a039c3784f1a652150c76a66ddccdfbe0560650b59338c5757d7807a599c89992afe08cfdc14ccf0f14f822e9be63c93b079  mate-indicator-applet-1.20.1.tar.xz"