From 3f5966e0cd8ea27a0d8b40223f2b0298646d49c3 Mon Sep 17 00:00:00 2001 From: Giovanni Santini Date: Tue, 14 Feb 2023 15:59:08 +0100 Subject: [PATCH] upgpkg: devscripts 2.23.1-2 - Add scripts manpages to the final package - Add provides/conflicts for checkbashism --- .SRCINFO | 3 ++- PKGBUILD | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 4ec2b26..c57e73a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = devscripts pkgdesc = Scripts to make the life of a Debian Package maintainer easier pkgver = 2.23.1 - pkgrel = 1 + pkgrel = 2 url = https://tracker.debian.org/pkg/devscripts arch = i686 arch = x86_64 @@ -35,6 +35,7 @@ pkgbase = devscripts optdepends = perl-moo: Required for uscan optdepends = perl-ipc-run: Required for uscan optdepends = perl-lwp-protocol-https: Required for uscan + provides = checkbashism options = !makeflags source = https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_2.23.1.tar.xz source = fixes.patch diff --git a/PKGBUILD b/PKGBUILD index 53fde43..a7f2dcc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgname=devscripts pkgver=2.23.1 -pkgrel=1 +pkgrel=2 pkgdesc="Scripts to make the life of a Debian Package maintainer easier" arch=('i686' 'x86_64') url="https://tracker.debian.org/pkg/devscripts" @@ -37,6 +37,8 @@ optdepends=( 'perl-ipc-run: Required for uscan' 'perl-lwp-protocol-https: Required for uscan' ) +provides=(checkbashism) +conflicst=(checkbashism) options=('!makeflags') source=( "https://deb.debian.org/debian/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${pkgver}.tar.xz" @@ -59,6 +61,12 @@ package() { cd "$pkgname" make DESTDIR="$pkgdir" install + # Install the script manpages appropriately + for script_manpage in scripts/*.1 + do + cp -v $script_manpage "$pkgdir/usr/share/man/man1" + done + # Create dch symlink to debchange ln -s /usr/bin/debchange "$pkgdir/usr/bin/dch"