void-packages/srcpkgs/lxappearance/template

23 lines
720 B
Bash

# Template file for 'lxappearance'
pkgname=lxappearance
version=0.6.3
revision=5
build_style=gnu-configure
configure_args="$(vopt_enable dbus) $(vopt_enable gtk3)"
hostmakedepends="pkg-config intltool"
makedepends="$(vopt_if gtk3 gtk+3-devel gtk+-devel) $(vopt_if dbus dbus-glib-devel)"
depends="desktop-file-utils"
short_desc="LXDE Theme Switcher"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lxde.org/"
distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz"
checksum=7222d858b8fef4b7967c42142d61e82ded6dd42dc5ef1d59caad775795928b38
build_options="gtk3 dbus"
build_options_default="dbus gtk3"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' configure
}