Update to latest version 5.20 (with other updates)

- switch to using salsa for (hopefully) more reliable source retrieval
- remove dependency on "which" and include now-unique which.debianutils
This commit is contained in:
Mike Javorski
2024-09-18 11:23:54 -07:00
parent 93d8866971
commit 1042e1dd9c
2 changed files with 17 additions and 16 deletions

View File

@@ -1,14 +1,14 @@
pkgbase = debianutils
pkgdesc = Miscellaneous utilities specific to Debian
pkgver = 5.7
pkgrel = 2
url = http://packages.qa.debian.org/d/debianutils.html
pkgver = 5.20
pkgrel = 1
url = https://tracker.debian.org/pkg/debianutils
arch = i686
arch = x86_64
license = GPL
makedepends = po4a
depends = run-parts
depends = which
source = http://deb.debian.org/debian/pool/main/d/debianutils/debianutils_5.7.orig.tar.gz
sha512sums = 79acd8885abca93842d696167171a359011c49a40f38deeb25bc94d62905f95afa3a7b2540d3bd4b0ffd363c5c48a439a1a68139a29d6c033980b019cea75d92
source = https://salsa.debian.org/debian/debianutils/-/archive/debian/5.20/debianutils-debian-5.20.tar.bz2
sha512sums = 0252fde90911df685cd585b91cde48f48f84d42982582839f83de5f57033d1241cc05bac95f89275fbb0fa80e6626111c2212641447d5a37ffe9c0d1027a7824
pkgname = debianutils

View File

@@ -2,28 +2,29 @@
# Contributor: brent s. <bts[at]square-r00t[dot]net>
# Contributor: Jochen Schalanda <jochen+aur (at) schalanda.name>
pkgname=debianutils
pkgver=5.7
pkgrel=2
pkgver=5.20
pkgrel=1
pkgdesc="Miscellaneous utilities specific to Debian"
arch=('i686' 'x86_64')
url="http://packages.qa.debian.org/d/debianutils.html"
url="https://tracker.debian.org/pkg/debianutils"
license=('GPL')
depends=('run-parts' 'which')
source=("http://deb.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz")
sha512sums=('79acd8885abca93842d696167171a359011c49a40f38deeb25bc94d62905f95afa3a7b2540d3bd4b0ffd363c5c48a439a1a68139a29d6c033980b019cea75d92')
makedepends=('po4a')
depends=('run-parts')
source=("https://salsa.debian.org/debian/$pkgname/-/archive/debian/$pkgver/$pkgname-debian-$pkgver.tar.bz2")
sha512sums=('0252fde90911df685cd585b91cde48f48f84d42982582839f83de5f57033d1241cc05bac95f89275fbb0fa80e6626111c2212641447d5a37ffe9c0d1027a7824')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-debian-${pkgver}"
autoreconf -fi
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-debian-${pkgver}"
make DESTDIR="$pkgdir" install
msg 'Remove files of "which" and "run-parts" package...'
msg 'Remove files of "run-parts" package...'
cd -
find "${pkgdir}" -name which* -delete
find "${pkgdir}" -name run-parts* -delete
}