[arch-commits] Commit in multitail/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Apr 23 09:46:19 UTC 2022
Date: Saturday, April 23, 2022 @ 09:46:18
Author: arojas
Revision: 1187552
archrelease: copy trunk to community-x86_64
Added:
multitail/repos/community-x86_64/PKGBUILD
(from rev 1187551, multitail/trunk/PKGBUILD)
Deleted:
multitail/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 38 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-23 09:46:08 UTC (rev 1187551)
+++ PKGBUILD 2022-04-23 09:46:18 UTC (rev 1187552)
@@ -1,30 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Roberto Carvajal <roberto at archlinux.org>
-
-pkgname=multitail
-pkgver=6.5.0
-pkgrel=1
-pkgdesc="Lets you view one or multiple files like the original tail program"
-arch=('x86_64')
-license=('GPL')
-url="https://www.vanheusden.com/multitail"
-depends=('ncurses')
-backup=('etc/multitail.conf')
-source=("https://www.vanheusden.com/multitail/${pkgname}-${pkgver}.tgz")
-md5sums=('21e692309babbbb5669ef1b17288ee0a')
-
-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
Copied: multitail/repos/community-x86_64/PKGBUILD (from rev 1187551, multitail/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-23 09:46:18 UTC (rev 1187552)
@@ -0,0 +1,38 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Roberto Carvajal <roberto at archlinux.org>
+
+pkgname=multitail
+pkgver=6.5.1
+pkgrel=1
+pkgdesc="Lets you view one or multiple files like the original tail program"
+arch=('x86_64')
+license=('GPL')
+url="https://www.vanheusden.com/multitail"
+depends=('ncurses')
+backup=('etc/multitail.conf')
+#source=("https://www.vanheusden.com/multitail/${pkgname}-${pkgver}.tgz")
+source=(https://github.com/halturin/multitail/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+ https://github.com/halturin/multitail/commit/d7d10f3b.patch)
+md5sums=('b4538d88508c6f7774b06d15bec8fcb6'
+ '248d9464c6cad37c7b563592881b902e')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 < ../d7d10f3b.patch # Fix build with -Werror=format-security
+}
+
+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
More information about the arch-commits
mailing list