# Maintainer: Icaro Perseo pkgname=lnav pkgver=0.7.3 pkgrel=1rvm source=("https://github.com/tstack/lnav/releases/download/v${pkgver}/$pkgname-$pkgver.tar.bz2") sourcetemplate="http://people.salixos.org/icaroperseo/14.1/xap/$pkgname" docs=('README.md' 'LICENSE' 'NEWS' 'README' 'INSTALL' 'AUTHORS') url="http://lnav.org/" slackdesc=\ ( #|-----handy-ruler---------------------------------------------------| "lnav (Log file navigator)" "lnav, is an enhanced log file viewer that takes advantage of any" "semantic information that can be gleaned from the files being" "viewed, such as timestamps and log levels. Using this extra" "semantic information, lnav can do things like interleaving" "messages from different files, generate histograms of messages" "over time, and providing hotkeys for navigating through the file." ) build() { # Acceding to the working directory. cd $startdir/src/$pkgname-$pkgver # Building the binary file. ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux \ --disable-silent-rules \ --disable-static \ --with-ncurses \ -with-readline make || return 1 make install DESTDIR=$startdir/pkg/ }