void-packages/srcpkgs/Thunar/template

37 lines
1.2 KiB
Bash

# Template file for 'Thunar'
pkgname=Thunar
version=4.16.1
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"
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="Orphaned <orphan@voidlinux.org>"
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=da2d17d2cb69eb33768690b714cc232ed367cbd71eb9543aaa2a805d05dc3ce1
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
}
}