David Runge pushed to branch main at Arch Linux / Packaging / Packages / vi
Commits: ff7e63a7 by David Runge at 2026-01-21T10:16:56+01:00 Switch to correct SPDX license identifier Signed-off-by: David Runge <[email protected]> - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -5,7 +5,8 @@ pkgbase = vi epoch = 1 url = https://ex-vi.sourceforge.net/ arch = x86_64 - license = custom:ex + license = BSD-4-Clause-UC + license = Caldera-no-preamble depends = ncurses optdepends = s-nail: used by the preserve command for notification source = https://sources.archlinux.org/other/vi/ex-070224.tar.xz ===================================== PKGBUILD ===================================== @@ -8,7 +8,10 @@ epoch=1 pkgdesc="The original ex/vi text editor" arch=('x86_64') url="https://ex-vi.sourceforge.net/" -license=('custom:ex') +license=( + BSD-4-Clause-UC + Caldera-no-preamble +) depends=('ncurses') optdepends=('s-nail: used by the preserve command for notification') source=(https://sources.archlinux.org/other/$pkgname/ex-$pkgver.tar.xz{,.sig} @@ -27,6 +30,10 @@ sha256sums=('c3e52dd44edd1f6bf0b52207f717c56149dc50aac0d131fff3851d589727f52f' validpgpkeys=('86CFFCA918CF3AF47147588051E8B148A9999C34') prepare() { + # Extract specific license files. + sed -n '1,36p' $_name-$_version/LICENSE > BSD-4-Clause-UC.txt + sed -n '39,69p' $_name-$_version/LICENSE > Caldera-no-preamble.txt + cd ex-$pkgver patch -Np1 -i ../fix-tubesize-short-overflow.patch @@ -54,7 +61,7 @@ package() { make PREFIX=/usr LIBEXECDIR=/usr/lib/ex PRESERVEDIR=/var/lib/ex \ INSTALL=/usr/bin/install DESTDIR="$pkgdir" install - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -vDm 644 ../*.txt -t "$pkgdir/usr/share/licenses/$pkgname/" } # vim:set ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vi/-/commit/ff7e63a78e9687966d686b5225fe7f248f2e102e -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vi/-/commit/ff7e63a78e9687966d686b5225fe7f248f2e102e You're receiving this email because of your account on gitlab.archlinux.org.
