#Packager: Frédéric Galusik <fredg~at~salixos~dot~org>

pkgname=clex
pkgver=4.6.patch5
pkgrel=2rl
#arch=noarch
source=(http://www.clex.sk/download/$pkgname-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver
docs=("authors" "changelog" "copying" "news" "readme")
url=http://www.clex.sk/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"clex (light file manager)"
"CLEX (pronounced KLEKS) is a file manager with a full-screen user"
"interface. It displays directory contents including the file status"
"details and provides features like command history, filename insertion"
", or name completion in order to help users to create commands to be"
"executed by the shell."
"CLEX is a versatile tool for system administrators and all users that"
"utilize the enormous power of the command line. There are no built-in"
"commands, CLEX is an add-on to your favorite shell."
)


build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr \
        --mandir=/usr/man \
        --build=$arch-slackware-linux
    make -j $numjobs || return 1
    make install DESTDIR=$startdir/pkg
}
