#Packager: Dimitris Tzemos <djemos@slackel.gr>

pkgname=lxrandr
pkgver=0.1.2
pkgrel=2dj
source=("http://downloads.sourceforge.net/sourceforge/lxde/${pkgname}-${pkgver}.tar.gz")
sourcetemplate=http://people.salixos.org/djemos/salix/openbox/$pkgname
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://lxde.org/


slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"lxrandr is the standard screen manager of LXDE. It manages screen"
"resolution and external monitors. You can plug in another screen" 
"into LXDE or choose to use a big screen projector. Local screen" 
"and extenal screen can be used at the same time." 
"lxrand configures the screen solution automatically."
)


build() {
	cd $SRC/$pkgname-$pkgver
	./configure --prefix=/usr \
	--libdir=/usr/lib${LIBDIRSUFFIX} \
	--localstatedir=/var \
	--sysconfdir=/etc \
	--build=$arch-slackware-linux
	
	make -j $numjobs || return 1
	make install DESTDIR=$PKG
} 
