#Packager: George Vlahavas pkgname=wmaker-crm pkgver=0.95.1 pkgrel=1gv source=("wmaker-crm-$pkgver.tar.gz" "wmaker-crm.desktop" "xinitrc.wmaker-crm" "no-usr-local.patch") docs=("readme*" "install*" "copying*" "changelog" "authors" "news" "todo" "The-perfect-Window-Maker-patch.txt" "bug*" "faq*") url=http://repo.or.cz/w/wmaker-crm.git options=('nosrcpack' 'noautodotnew') dotnew=('etc/WindowMaker/WMRootMenu' 'etc/WindowMaker/WMWindowAttributes' 'etc/WindowMaker/WindowMaker' 'etc/WindowMaker/WMState' 'etc/WindowMaker/WMGLOBAL') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "wmaker-crm (a WindowMaker fork)" "Wmaker-crm is a fork based on the last known CVS version of" "WindowMaker. The -crm is to make it clear that it is not the original," "but there are no intentions to deviate from the 'principles' which led" "to the great Window Maker we all know." "There are a lot of bug fixes and code cleanups compared to the last" "CVS." "The motivation is to have a maintainable wmaker for everyday use in" "the long years to come. And with help from other people, it will" "hopefully become better and better for everybody." ) build() { cd $startdir/src/$pkgname # wmgenmenu looks in /usr/local/share instead of /usr/share for # themes, styles etc and it's hardcoded... patch -p1 < $startdir/src/no-usr-local.patch || exit 1 ./autogen.sh ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --enable-modelock \ --enable-xrandr \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/xsessions cp $startdir/src/wmaker-crm.desktop $startdir/pkg/usr/share/xsessions/ mkdir -p $startdir/pkg/etc/X11/xinit cp $startdir/src/xinitrc.wmaker-crm $startdir/pkg/etc/X11/xinit/ }