#Packager: Shador pkgname=whaw pkgver=0.1.2 pkgrel=1ab #arch=x86_64 source=("http://repetae.net/computer/whaw/drop/whaw-0.1.2.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/packages-x86_64/$pkgname/$pkgver/" docs=("readme") url='http://repetae.net/computer/whaw/drop/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (window manager independent window layout tool)" "whaw is a program for X11 that can use advanced tiling algorithms and" "an intuitive user interface to quickly lay out windows without having" "to replace or modify the set up of your window manager of choice. whaw" "is meant to augment the capabilities of your current window manager," "not supplant them." ) build() { set -e JOBS="-j$(($(getconf _NPROCESSORS_ONLN)*2))" NUMJOBS="${NUMJOBS:-"${JOBS}"}" cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --build=$arch-slackware-linux || return 1 make $NUMJOBS || return 1 make install DESTDIR=$startdir/pkg || return 1 set +e }