# Template file for 'Thunar'
pkgname=Thunar
version=4.20.8
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--enable-gio-unix --enable-gudev
 --enable-exif --disable-static --enable-notifications"
hostmakedepends="pkg-config gettext glib-devel polkit"
makedepends="exo-devel libexif-devel libgudev-devel libnotify-devel
 xfce4-panel-devel libSM-devel libICE-devel libX11-devel cairo-devel
 pcre2-devel pango-devel atk-devel gdk-pixbuf-devel libxfce4ui-devel
 libglib-devel gtk+3-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Thunar File Manager"
maintainer="Saksham <voidisnull@duck.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://docs.xfce.org/xfce/thunar/Start"
changelog="https://gitlab.xfce.org/xfce/thunar/-/raw/xfce-${version%.*}/NEWS"
distfiles="https://archive.xfce.org/src/xfce/thunar/${version%.*}/thunar-${version}.tar.bz2"
checksum=cc735954d948a88eba2e40016a94c598f876309b736686c9f4d0273a05870c69

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"
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}
