void-packages/srcpkgs/wmfs/template
Jürgen Buchmüller 7c158fd5ce wmfs: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:42 +02:00

25 lines
805 B
Bash

# Template file for 'wmfs'
pkgname=wmfs
version=201104
revision=6
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"
homepage="http://wmfs.info/"
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
}