# Contributor: Sören Tempel # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=multitail pkgver=7.0.0 pkgrel=1 pkgdesc="MultiTail lets you view one or multiple files like the original tail program" arch="all" url="http://www.vanheusden.com/multitail" license="Apache-2.0" depends="ncurses coreutils" makedepends="ncurses-dev cmake ninja" checkdepends="cppcheck" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/folkertvanheusden/multitail/archive/refs/tags/$pkgver.tar.gz install-docs.patch linux-is-not-debian-ncurses.patch printf-style.patch add-version-detection.patch" options="!check" # no tests provided prepare() { default_prepare sed -i "s|@VERSION@|$pkgver|" CMakeLists.txt } build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCURSES_INCLUDE_PATH=/usr/include . cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 325abc2ec3e55f274b8f080c54e878ee301af1df5761def95b5fee0abe65cc999a2db0184e1d7a7378c048b1766e03f9553262d3bba88c8fad87c4952d1d59ae multitail-7.0.0.tar.gz 896d6a5a33032480533b24bf9a24e29c662ae35012bdde8e0889da2b864f907c34050068b6ba87ecde93df1e5be0cdbf4bb78a178c14fc03c609f2f995b36905 install-docs.patch 8f9a02b37187af204a1b00646e9657ead1c70bb1f3ee9dda922186b24060f5e9bd9d7d3cfe7f29ccbc242ff69a515e010b11d51c41112ca77acd910e2de2e9db linux-is-not-debian-ncurses.patch 7c008a5219aed732ca417951c8f27b6c033b3dbe54025663dde37b3282fd7a492bd86b72f141c70023e0464e342c104a2189ea27910a8929a88196545e7bcebf printf-style.patch 497e2c7065725c02b3772fefc198f696467c7899ce5f5e401babd85ed4e98bb54b8b066ae9f6fd17ccccbb029ab6e5bded69b1a8217220a2fa53c73be25b26d3 add-version-detection.patch "