2013-01-12 17:54:14 +01:00
|
|
|
# Template file for 'WindowMaker'
|
|
|
|
pkgname=WindowMaker
|
2015-08-12 07:58:08 +02:00
|
|
|
version=0.95.7
|
2016-09-28 18:34:52 +02:00
|
|
|
revision=2
|
2013-01-12 17:54:14 +01:00
|
|
|
build_style=gnu-configure
|
2015-08-12 07:58:08 +02:00
|
|
|
configure_args="--enable-xinerama --localedir=/usr/share/locale
|
2016-09-28 18:34:52 +02:00
|
|
|
--enable-usermenu --enable-modelock --enable-xrandr --enable-wmreplace
|
|
|
|
--disable-static LINGUAS=*"
|
2014-01-20 11:27:48 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config"
|
|
|
|
makedepends="libXinerama-devel libXrandr-devel libXmu-devel libXpm-devel
|
2015-03-27 10:50:40 +01:00
|
|
|
libXpm-devel libXft-devel libpng-devel tiff-devel giflib-devel
|
2015-04-25 10:56:25 +02:00
|
|
|
fontconfig-devel libexif-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="
|
|
|
|
/etc/WindowMaker/WindowMaker
|
|
|
|
/etc/WindowMaker/WMRootMenu
|
|
|
|
/etc/WindowMaker/WMWindowAttributes
|
|
|
|
/etc/WindowMaker/WMState
|
2015-04-25 10:56:25 +02:00
|
|
|
/etc/WindowMaker/WMGLOBAL"
|
2013-01-12 17:54:14 +01:00
|
|
|
short_desc="An X11 window manager with a NEXTSTEP look and feel"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-01-12 17:54:14 +01:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.windowmaker.org/"
|
|
|
|
distfiles="http://windowmaker.org/pub/source/release/${pkgname}-${version}.tar.gz"
|
2015-08-12 07:58:08 +02:00
|
|
|
checksum=842d486c4b212b19d10dbae2c315c6ff20c6e651471eaa45214b3b832d8097a9
|
2014-01-20 11:27:48 +01:00
|
|
|
|
|
|
|
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 {} \;
|
|
|
|
}
|
2013-01-12 17:54:14 +01:00
|
|
|
|
|
|
|
post_install() {
|
2014-09-06 22:08:49 +02:00
|
|
|
vlicense COPYING.WTFPL
|
2013-01-12 17:54:14 +01:00
|
|
|
vinstall ${FILESDIR}/wmaker.desktop 644 usr/share/xsessions
|
|
|
|
}
|
2013-04-12 09:01:46 +02:00
|
|
|
|
|
|
|
WindowMaker-devel_package() {
|
2014-01-20 11:27:48 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-04-30 10:24:56 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:01:46 +02:00
|
|
|
pkg_install() {
|
2013-04-16 14:04:41 +02:00
|
|
|
vmove usr/include
|
2014-01-20 11:27:48 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-16 14:04:41 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-12 09:01:46 +02:00
|
|
|
}
|
|
|
|
}
|