# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-timer-plugin
pkgver=1.7.3
pkgrel=0
pkgdesc="Timer plugin for Xfce"
url="https://docs.xfce.org/panel-plugins/xfce4-timer-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev libxfce4ui-dev gtk+3.0-dev"
options="!check" # no testsuite
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/${pkgver%.*}/xfce4-timer-plugin-$pkgver.tar.bz2"

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

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

sha512sums="
aad16bac1c43a9bed529884e23392153fdeec9e6793a9815f3307c7ec2cb33a1bce86127bc009f80ecdfb4a44edcdaf8f63f139a382bad0001a14b007d741a55  xfce4-timer-plugin-1.7.3.tar.bz2
"
