# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=xfwm4
pkgver=4.14.2
pkgrel=0
pkgdesc="Window manager for the XFCE desktop environment"
url="https://xfce.org"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="intltool gtk+3.0-dev libxfce4util-dev libxfce4ui-dev libwnck-dev
	gobject-introspection-dev vala-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/xfce/xfwm4/4.14/xfwm4-$pkgver.tar.bz2"

build() {
	LIBS="-lintl" ./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="9e28f7782ce6c1734f9a50efec75d4c03a193bf078fd29f42c11770cef134c4516c256cb9c4b92a71bbbbfca81f37ba0ce19477831bb1da858c839135005b8f2  xfwm4-4.14.2.tar.bz2"