vp-build/srcpkgs/spacefm/template

26 lines
840 B
Bash

# Template file for 'spacefm'
pkgname=spacefm
version=1.0.6
revision=2
build_style=gnu-configure
configure_args="$(vopt_with gtk3)"
hostmakedepends="pkg-config intltool"
makedepends="$(vopt_if gtk3 gtk+3-devel gtk+-devel)
startup-notification-devel eudev-libudev-devel ffmpegthumbnailer-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Multi-panel tabbed file manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://ignorantguru.github.io/spacefm/"
distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz"
checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9
conf_files="/etc/spacefm/spacefm.conf"
build_options="gtk3"
build_options_default="gtk3"
CFLAGS="-fcommon"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' configure
}