From a658faeb86c9183d004801883cecb0406761e44e Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 4 Oct 2020 17:08:22 +0000
Subject: help2man: update to 1.47.16

---
 abs/extra/help2man/PKGBUILD         | 18 +++++++++---------
 abs/extra/help2man/help2man.install | 18 ------------------
 2 files changed, 9 insertions(+), 27 deletions(-)
 delete mode 100644 abs/extra/help2man/help2man.install

diff --git a/abs/extra/help2man/PKGBUILD b/abs/extra/help2man/PKGBUILD
index 2b4176a..f60050d 100644
--- a/abs/extra/help2man/PKGBUILD
+++ b/abs/extra/help2man/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 160650 2012-06-03 07:59:58Z giovanni $
 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
 # Contributor: Paul Mattal <paul@mattal.com>
 
 pkgname=help2man
-pkgver=1.40.10
+pkgver=1.47.16
 pkgrel=1
 pkgdesc="Conversion tool to create man files"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/help2man/"
+arch=('x86_64')
+url="https://www.gnu.org/software/help2man/"
 license=('GPL')
 depends=('perl-locale-gettext')
-install=help2man.install
-source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('7181a363af41e0f476dd81f36b105a8e')
+source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha512sums=('b427e60a9e3d2e805caf1ae84c337b09c7ca6f92b7ff14771f946c4a1bf7adf177df99b9c1c223ad76df99756005ababf5b548ff8e08d4746702ff7f8150b544'
+            'SKIP')
+validpgpkeys=('87EA44D150D89615E39A3FEEF0DC8E00B28C5995') # Brendan O'Dea <bod@debian.org>
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
 
   ./configure --prefix=/usr \
               --mandir=/usr/share/man \
@@ -25,7 +25,7 @@ build() {
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
 
   make DESTDIR="${pkgdir}" install
 }
diff --git a/abs/extra/help2man/help2man.install b/abs/extra/help2man/help2man.install
deleted file mode 100644
index 815a943..0000000
--- a/abs/extra/help2man/help2man.install
+++ /dev/null
@@ -1,18 +0,0 @@
-info_dir=/usr/share/info
-info_files=(help2man.info)
-
-post_install() {
-  for f in ${info_files[@]}; do
-    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install
-}
-
-pre_remove() {
-  for f in ${info_files[@]}; do
-    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-- 
cgit v0.12

