# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=mate-indicator-applet
pkgver=1.24.0
pkgrel=0
pkgdesc="MATE panel applet for consistent information display"
url="https://mate-desktop.org"
arch="all"
license="GPL-3.0+ AND LGPL-2.0+"
depends=""
makedepends="ayatana-ido-dev bash gtk+3.0-dev intltool libayatana-indicator-dev
	mate-panel-dev"
subpackages="$pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-indicator-applet-$pkgver.tar.xz"

build() {
	bash ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="0e82f572c1855c8623e537a45c2c0c0b98d3d642e46333eedc16c26607205293098a062008d0e568890ffdf6b8dc4c30a7f5e2e41a150f940917b3671783e413  mate-indicator-applet-1.24.0.tar.xz"