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

pkgname=numlockx
pkgver=1.1
pkgrel=1gv
arch=i486
source=(http://ktown.kde.org/~seli/numlockx/numlockx-1.1.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
	make || return 1
	make install DESTDIR=$startdir/pkg
}