void-packages/srcpkgs/fluxbox/template

33 lines
1.2 KiB
Bash

# Template file for 'fluxbox'
pkgname=fluxbox
version=1.3.7
revision=4
build_style=gnu-configure
configure_args="--enable-nls
ac_cv_lib_X11_XOpenDisplay=yes ac_cv_lib_Xft_XftFontOpen=yes
ac_cv_lib_Xrender_XRenderCreatePicture=yes ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
ac_cv_lib_Xinerama_XineramaQueryScreens=yes ac_cv_lib_Xext_XShapeCombineShape=yes
ac_cv_lib_Xrandr_XRRQueryExtension=yes ac_cv_lib_fribidi_fribidi_version_info=yes"
hostmakedepends="pkg-config automake libtool gettext gettext-devel"
makedepends="libSM-devel libXrender-devel libXft-devel libXpm-devel imlib2-devel
libXext-devel libXinerama-devel libXrandr-devel fribidi-devel"
short_desc="Highly configurable and low resource X11 Window manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.fluxbox.org"
distfiles="https://github.com/fluxbox/fluxbox/archive/refs/tags/Release-${version//./_}.tar.gz"
checksum=990414ae342a35c5703e5025a8bf019b0b4dada55d57071c51d3d498abb5cd36
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args="${configure_args/enable-nls/disable-nls}" ;;
esac
pre_configure() {
./autogen.sh
}
post_install() {
vinstall ${FILESDIR}/fluxbox.desktop 644 usr/share/xsessions
vlicense COPYING
}