# $Id: PKGBUILD 101979 2013-12-03 09:00:37Z kkeen $ # Maintainer: Kyle Keen # Contributor: Kevin Piche # Contributor: Roberto Carvajal pkgname=multitail pkgver=6.0 pkgrel=1 pkgdesc="Lets you view one or multiple files like the original tail program" arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.vanheusden.com/multitail" depends=('ncurses') backup=('etc/multitail.conf') source=("${url}/${pkgname}-${pkgver}.tgz") md5sums=('fb8efc547d389257021885fe5402255c') build() { cd "$srcdir/$pkgname-$pkgver" sed -i 's|ncursesw/panel.h|panel.h|' mt.h sed -i 's|ncursesw/ncurses.h|ncurses.h|' mt.h make } package() { cd "$srcdir/$pkgname-$pkgver" install -D -m 755 multitail "$pkgdir/usr/bin/multitail" install -D -m 644 multitail.1 "$pkgdir/usr/share/man/man1/multitail.1" install -D -m 644 multitail.conf "$pkgdir/etc/multitail.conf" } # vim: ts=2 sw=2 et ft=sh