Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / valkey
Commits: 4fe4fb86 by David Runge at 2025-04-18T09:33:47+02:00 Use correct SPDX license identifiers and install separate licenses Signed-off-by: David Runge <dv...@archlinux.org> - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -5,7 +5,8 @@ pkgbase = valkey url = https://valkey.io/ install = valkey.install arch = x86_64 - license = BSD + license = BSD-2-Clause + license = BSD-3-Clause makedepends = systemd makedepends = openssl depends = grep ===================================== PKGBUILD ===================================== @@ -11,7 +11,10 @@ pkgrel=3 pkgdesc='An in-memory database that persists on disk' arch=('x86_64') url='https://valkey.io/' -license=('BSD') +license=( + BSD-2-Clause + BSD-3-Clause +) depends=( 'grep' 'shadow' @@ -53,6 +56,10 @@ sha512sums=('54559ad697992611245aa92e33f976a609c44d7e3f97f4773a09a53cb55226367ac 'c656904ade64b2498766a420dab8e72795bb96bf23cb04e408e011197c755648a3c155e699821347f4ca9e207031493df50b4474c41534e50ec4fb0d4817c45c') prepare() { + # extract licenses + sed -n '7,16p' $pkgname-$pkgver/COPYING > BSD-3-Clause.txt + sed -n '22,31p' $pkgname-$pkgver/COPYING > BSD-2-Clause.txt + cd $pkgname-$pkgver patch -Np1 < ../valkey.conf-sane-defaults.patch # Until this is fixed, use bundled jemalloc: @@ -71,7 +78,7 @@ package() { cd $pkgname-$pkgver make PREFIX="$pkgdir"/usr install - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/valkey/LICENSE + install -vDm 644 ../BSD-{2,3}-Clause.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ install -Dm644 -t "$pkgdir"/etc/valkey valkey.conf sentinel.conf install -Dm644 -t "$pkgdir"/usr/lib/systemd/system/ ../valkey.service ../valkey-sentinel.service install -Dm644 "$srcdir"/valkey.sysusers "$pkgdir"/usr/lib/sysusers.d/valkey.conf View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/valkey/-/commit/4fe4fb86225f779bd31051f04f8050147c3a1521 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/valkey/-/commit/4fe4fb86225f779bd31051f04f8050147c3a1521 You're receiving this email because of your account on gitlab.archlinux.org.