void-packages/srcpkgs/Thunar/template

38 lines
1.2 KiB
Bash

# Template file for 'Thunar'
pkgname=Thunar
reverts="4.17.0_1"
version=4.16.11
revision=1
wrksrc=thunar-${version}
build_style=gnu-configure
build_helper="gir"
configure_args="--enable-gio-unix --enable-gudev
--enable-exif --enable-pcre --disable-static --enable-notifications
--with-locales-dir=/usr/share/locale"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="exo-devel libexif-devel libgudev-devel libnotify-devel xfce4-panel-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Thunar File Manager"
maintainer="Ulf <void@uw.anonaddy.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=f47dde90b2e5e3e31920a4f57ddd3670282d0a90870a45e89148fce41b2a8a1b
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"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}