### this file is sourced not run
PKGVER=2.6.8
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=fvwm-$PKGVER.tar.gz
MD5SUM=21c92ec0d6c037f5c6e3aab5db5f1662
SRC_URL=https://github.com/fvwmorg/fvwm/releases/download/$PKGVER/$TARBALL
BUNDLE=

SLACKREQ='libpng libreadline librsvg freetype2 gdk-pixbuf glib cairo 
libfribidi fontconfig libX11' # and other libX11 stuff like xinerama, render, ext, SM, ICE, etc
SLACKDESC="fvwm: fvwm $PKGVER (Fast Virtual Window Manager)
fvwm: 
fvwm: Fvwm is a window manager for X11. It is designed to minimize memory 
fvwm: consumption, provide a 3D look to window frames, and a virtual 
fvwm: desktop.
fvwm: 
fvwm: http://www.fvwm.org/
fvwm: 
fvwm: 
fvwm: 
fvwm: 
"
SLACKSUG='python-pyxdg'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf && pkg_build_slackdesc &&
	rm -rf /var/cache/fontconfig /var/db/fontconfig && # remove fontcache

	# fix use whatever python there is
	sed -i -e 's|python3|python|g' /usr/bin/fvwm-menu-desktop
}

