# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-indicator-applet
pkgver=1.28.0
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-or-later AND LGPL-2.1-or-later"
makedepends="
	autoconf
	autoconf-archive
	automake
	glib-dev
	gtk+3.0-dev
	intltool
	libayatana-indicator-dev
	libido3-dev
	libtool
	mate-common
	mate-panel-dev
	"
subpackages="$pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-indicator-applet-$pkgver.tar.xz"

build() {
	NOCONFIGURE=1 ./autogen.sh
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--enable-static=no \
		--libexecdir=/usr/libexec \
		--sysconfdir=/etc \
		--prefix=/usr
	make

}

check() {
	make check
}

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

sha512sums="
1b08d457ac414d1f6ce7d6f3ef65974a1f300a57bf9802a8e25fe4f44e04a459d5f924b0235fbfc63e7ab4ddbeef0deb6f2b5545d439c6a4e97e4c3845111691  mate-indicator-applet-1.28.0.tar.xz
"
