#Packager: George Vlahavas pkgname=lsw pkgver=0.2 pkgrel=1gv source=("http://dl.suckless.org/tools/lsw-$pkgver.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://tools.suckless.org/lsw slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lsw (lists the titles of all running X windows to stdout)" "lsw lists the titles of all running X windows to stdout, similar to" "ls(1). Might be useful for script integration." ) build() { cd $startdir/src/$pkgname-$pkgver sed -i "s/-Os/$CFLAGS/" config.mk make -j $numjobs || return 1 mkdir -p $startdir/pkg/usr/man/man1 make install DESTDIR=$startdir/pkg PREFIX=/usr MANPREFIX=/usr/man }