AUR bearhub: fix stale source cache collision (pkgrel=10)

Use tag-specific tarball name bearhub-0.10.7-bearhub.6.tar.gz so makepkg
and AUR helpers do not reuse an outdated bearhub-0.10.7.tar.gz from cache.
Ignore makepkg artifacts under packaging/aur/.
This commit is contained in:
Sebastian
2026-06-27 10:04:24 +02:00
parent 436f334a82
commit 002b5c839e
3 changed files with 9 additions and 5 deletions

5
.gitignore vendored Executable file → Normal file
View File

@@ -18,4 +18,7 @@ linux_dist/appimage/*.gz
linux_dist/appimage/*.gz.*
linux_dist/appimage/bearhub-*
linux_dist/appimage/bauh-*
AGENTS.md
packaging/aur/**/*.tar.gz
packaging/aur/**/src
packaging/aur/**/pkg

View File

@@ -1,7 +1,7 @@
pkgbase = bearhub
pkgdesc = Arch-first package manager hub (community-maintained fork of bauh)
pkgver = 0.10.7
pkgrel = 9
pkgrel = 10
url = https://github.com/spalencsar/bearhub
arch = any
license = ZLIB
@@ -24,7 +24,7 @@ pkgbase = bearhub
conflicts = bearhub-git
conflicts = bauh
conflicts = bauh-git
source = bearhub-0.10.7.tar.gz::https://github.com/spalencsar/bearhub/archive/refs/tags/0.10.7-bearhub.6.tar.gz
source = bearhub-0.10.7-bearhub.6.tar.gz::https://github.com/spalencsar/bearhub/archive/refs/tags/0.10.7-bearhub.6.tar.gz
sha256sums = 6fa9dfbff1cdb86a5eb837275170434069d320fd3072324ca9f4eb4beea92a04
pkgname = bearhub

View File

@@ -1,6 +1,6 @@
pkgname=bearhub
pkgver=0.10.7
pkgrel=9
pkgrel=10
pkgdesc="Arch-first package manager hub (community-maintained fork of bauh)"
arch=('any')
url="https://github.com/spalencsar/bearhub"
@@ -22,7 +22,8 @@ optdepends=(
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
provides=('bearhub' 'bauh')
conflicts=('bearhub-git' 'bauh' 'bauh-git')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/${pkgver}-bearhub.6.tar.gz")
_pkgver_tag="${pkgver}-bearhub.6"
source=("$pkgname-${_pkgver_tag}.tar.gz::$url/archive/refs/tags/${_pkgver_tag}.tar.gz")
sha256sums=('6fa9dfbff1cdb86a5eb837275170434069d320fd3072324ca9f4eb4beea92a04')
build() {