Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#72344 - makepkg -g/--geninteg does not respect 'SKIP'
|
DetailsSummary and Info:
makepkg should not generate checksums for files that it was told to skip as specified in https://wiki.archlinux.org/title/PKGBUILD#integrity Steps to Reproduce: 1) Create a PKGBUILD file with SKIP in the checksums 2) run makepkg --geninteg 3) checksums are generated for files that should be skipped |
This task depends upon
```sh
# Maintainer: xerus <27jf at pm dot me>
_pkgname='context'
pkgname="${_pkgname}-bin"
pkgver=1
pkgrel=1
pkgdesc='ConTeXt LMTX, the Lean and Mean TeX eXperience with Lua, MetaPost, TeX, and XML'
arch=('x86_64')
url="https://wiki.contextgarden.net/Installation"
license=(GPL)
depends=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
optdepends=('')
source=("http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip")
sha512sums=('SKIP')
package() {
cd "${srcdir}"
chmod +x install.sh
./install.sh
context="${pkgdir}/usr/share/context"
mkdir -p "$context"
cd "tex"
install -Dm 644 texmf texmf-context "$context"
install -Dm 644 texmf-linux-64/bin "${pkgdir}/usr/bin"
}
pkgver() {
cd "${srcdir}"
echo 1
}
```
Then:
```sh
❯ makepkg --geninteg
==> Retrieving sources...
-> Found context-linux-64.zip
==> Generating checksums for source files...
sha512sums=('c784ba0359131bb17d4c663b23a5bcca9a9ec053ef81d67ae3e46f1a28062e596c67b92fc88ff4f4601dd53d5bba271ef3932c5f49ac6ffe7693746670b39029')
```