upgpkg: devscripts 2.23.1-2

- Add scripts manpages to the final package
- Add provides/conflicts for checkbashism
This commit is contained in:
Giovanni Santini
2023-02-14 15:59:08 +01:00
parent cceb365221
commit 3f5966e0cd
2 changed files with 11 additions and 2 deletions

View File

@@ -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"