48 lines
1.4 KiB
Bash
48 lines
1.4 KiB
Bash
# Template file for 'WindowMaker'
|
|
pkgname=WindowMaker
|
|
version=0.95.8
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-xinerama --localedir=/usr/share/locale
|
|
--enable-usermenu --enable-modelock --enable-xrandr --enable-wmreplace
|
|
--disable-static LINGUAS=*"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libXinerama-devel libXrandr-devel libXmu-devel libXpm-devel
|
|
libXpm-devel libXft-devel libpng-devel tiff-devel giflib-devel
|
|
fontconfig-devel libexif-devel"
|
|
conf_files="
|
|
/etc/WindowMaker/WindowMaker
|
|
/etc/WindowMaker/WMRootMenu
|
|
/etc/WindowMaker/WMWindowAttributes
|
|
/etc/WindowMaker/WMState
|
|
/etc/WindowMaker/WMGLOBAL"
|
|
short_desc="An X11 window manager with a NEXTSTEP look and feel"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-3"
|
|
homepage="http://www.windowmaker.org/"
|
|
distfiles="http://windowmaker.org/pub/source/release/${pkgname}-${version}.tar.gz"
|
|
checksum=9dbf5c5571bb79c4b1584f496c960ee2cd7379af45ef0f58b4b0f487259de88a
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_configure() {
|
|
# Remove hardcoded /usr/{include,lib} paths!
|
|
find ${wrksrc} -name Makefile -exec sed 's,-L${libdir},,g;s,-I${includedir},,g' -i {} \;
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING.WTFPL
|
|
vinstall ${FILESDIR}/wmaker.desktop 644 usr/share/xsessions
|
|
}
|
|
|
|
WindowMaker-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|