summaryrefslogtreecommitdiffstats
path: root/testing/multitail/APKBUILD
blob: 1f5ab063fbf7381a49a989fa566e6bb12f4c79f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=multitail
pkgver=5.2.13
pkgrel=0
pkgdesc="MultiTail lets you view one or multiple files like the original tail program"
arch="x86 x86_64"
url="http://www.vanheusden.com/multitail"
license="GPL2"
depends="ncurses"
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.vanheusden.com/multitail/$pkgname-$pkgver.tgz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc
	make -j1 || return 1
}

package() {
	cd $_builddir
	mkdir -p "$pkgdir"/usr/bin
	mkdir -p "$pkgdir"/usr/share/man/man1
	mkdir -p "$pkgdir"/etc
  	make DESTDIR="$pkgdir" install || return 1
}

md5sums="71a774b6d6bb430672c8a9252baac6e6  multitail-5.2.13.tgz"
sha256sums="8692a9d8513093877e337673a8437075dcd34522a0840b2438e5cd1e6a5bafab  multitail-5.2.13.tgz"
sha512sums="fa8b057e445d845544afb52c0fa314a14dec08e64789e515fe86ebe22875c9626141476ad704ed4208301546c4ac794944165dcfcd8475d79d7d03e1725e5a51  multitail-5.2.13.tgz"