1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A curses-based tool for viewing and analyzing log files."
8 url="http://tstack.github.com/lnav/"
10 depends=('pcre' 'zlib' 'bzip2' 'sqlite3')
11 source=("http://cloud.github.com/downloads/tstack/$pkgname/$pkgname-$pkgver.tar.gz")
12 md5sums=('827a5d175796d13229c1d5a1bdd7b765')
15 cd "$srcdir/$pkgname-$pkgver"
17 # remove unneeded termcap link
18 sed -i "s| \-ltermcap||" configure
20 # use right type (cause build failure on i686)
21 sed -i "s|unsigned long|size_t|g" src/line_buffer.cc
23 ./configure --prefix=/usr \
29 cd "$srcdir/$pkgname-$pkgver"
31 make DESTDIR="$pkgdir/" install
34 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37 install -Dm644 README "$pkgdir/usr/share/$pkgname/README"
40 # vim:set ts=2 sw=2 et: