void-packages/srcpkgs/wmfs/template

26 lines
827 B
Bash

# Template file for 'wmfs'
pkgname=wmfs
version=201104
revision=7
build_style=configure
configure_args="--prefix /usr --man-prefix /usr/share/man --xdg-config-dir /etc/xdg"
hostmakedepends="pkg-config"
makedepends="libXft-devel libXrender-devel fontconfig-devel libXinerama-devel libXrandr-devel imlib2-devel"
conf_files="/etc/xdg/wmfs/wmfsrc"
short_desc="Window Manager From Scratch"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/xorg62/wmfs"
distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2 -fcommon"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() {
vlicense COPYING
}