#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=numlockx
pkgver=1.2
pkgrel=1rl
source=("http://ktown.kde.org/~seli/numlockx/numlockx-$pkgver.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "license")
url=http://ktown.kde.org/~seli/numlockx/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"numlockx (make X start with numlock on)"
"numlockx is a tool that that you can use to set X to start with"
"numlock on."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --x-includes=/usr/include/X11 --x-libraries=/usr/lib --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}