upgpkg: devscripts 2.24.2-1

- Version bump.
- Build fix for missing source directory.
  Ensures that we work when having a source version or not.
This commit is contained in:
Giovanni Santini
2024-11-08 13:59:52 +01:00
parent 2e733c8a10
commit 6c03f36c30
2 changed files with 12 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = devscripts
pkgdesc = Scripts to make the life of a Debian Package maintainer easier
pkgver = 2.24.1
pkgver = 2.24.2
pkgrel = 1
url = https://tracker.debian.org/pkg/devscripts
arch = i686
@@ -40,9 +40,9 @@ pkgbase = devscripts
provides = checkbashisms
conflicts = checkbashisms
options = !makeflags
source = https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_2.24.1.tar.xz
source = https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_2.24.2.tar.xz
source = fixes.patch
sha256sums = 205122cc0bd28cf3521f80fce87a6efdced83e4ff86c647f4ce018444a2ec52a
sha256sums = e0481ec6765ae59f85790b246432ac360fef55f1b54edbc2272707e377cdfcc9
sha256sums = f8e7ce50c0d008c5d38c94b93c9fc560e5dd2cc8f06eeb2909b0b1784911b768
pkgname = devscripts

View File

@@ -6,7 +6,7 @@
# Contributor: JD Horelick <jdhore1@gmail.com>
pkgname=devscripts
pkgver=2.24.1
pkgver=2.24.2
pkgrel=1
pkgdesc="Scripts to make the life of a Debian Package maintainer easier"
arch=('i686' 'x86_64')
@@ -46,10 +46,17 @@ source=(
"https://deb.debian.org/debian/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${pkgver}.tar.xz"
fixes.patch
)
sha256sums=('205122cc0bd28cf3521f80fce87a6efdced83e4ff86c647f4ce018444a2ec52a'
sha256sums=('e0481ec6765ae59f85790b246432ac360fef55f1b54edbc2272707e377cdfcc9'
'f8e7ce50c0d008c5d38c94b93c9fc560e5dd2cc8f06eeb2909b0b1784911b768')
prepare(){
# Sometimes there is the version in the tarball, sometimes not.
# Ensure we always have the proper directory.
if [ ! -d "${pkgname}-${pkgver}" -a -d "${pkgname}" ]
then
ln -s "${pkgname}" "${pkgname}-${pkgver}"
fi
cd "${pkgname}-${pkgver}"
patch -p1 -i "$srcdir/fixes.patch"