# Template file for 'Thunar'
pkgname=Thunar
version=1.8.2
revision=1
build_style=gnu-configure
configure_args="--enable-gio-unix --enable-gudev
 --enable-exif --enable-pcre --disable-static --enable-notifications"
hostmakedepends="pkg-config intltool"
makedepends="libgudev-devel libnotify-devel xfce4-panel-devel libexif-devel exo-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Thunar File Manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://docs.xfce.org/xfce/thunar/Start"
changelog="https://raw.githubusercontent.com/xfce-mirror/thunar/master/NEWS"
distfiles="https://archive.xfce.org/src/xfce/thunar/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=75f91045541eb5983e772a564d97f23e5995256bfb9863e0f4a015393421d428

post_install() {
	rm -rf ${DESTDIR}/usr/lib/systemd
}

Thunar-devel_package() {
	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
