# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-wavelan-plugin
pkgver=0.6.4
pkgrel=0
pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel"
url="https://gitlab.xfce.org/panel-plugins/xfce4-wavelan-plugin"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-lang"
makedepends="xfce4-panel-dev libxfce4ui-dev linux-headers"
source="https://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/${pkgver%.*}/xfce4-wavelan-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make
}

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

sha512sums="
efa7c37ff5b5658bf5282074c070ce30eb32bd2c8611bb7aba9d319eee608d603b38ae2b9118bff548c938fd2aff87cbea1ae6cf1183d4111a17fe399fe8020e  xfce4-wavelan-plugin-0.6.4.tar.bz2
"
