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.6
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://raw.githubusercontent.com/xfce-mirror/thunar/master/NEWS"
distfiles="https://archive.xfce.org/src/xfce/thunar/${version%.*}/thunar-${version}.tar.bz2"
checksum=cb531d3fe67196a43ca04979ef271ece7858bbc80c15b0ee4323c1252a1a02b7
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
}
}