David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
ex-vi-compat


Commits:
79360b09 by David Runge at 2026-02-02T11:06:05+01:00
Replace vi script with a symlink to vim as well

Fixes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat/-/issues/5
Fixes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat/-/issues/3
Fixes: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat/-/issues/2
Signed-off-by: David Runge <[email protected]>

- - - - -
6f14b76a by David Runge at 2026-02-02T11:09:17+01:00
upgpkg: 2-1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- − vi.sh


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,10 @@
 pkgbase = ex-vi-compat
        pkgdesc = The ex and vi commands based on vim's compatibility modes
-       pkgver = 1
-       pkgrel = 3
+       pkgver = 2
+       pkgrel = 1
        url = 
https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat
        arch = any
        license = 0BSD
-       depends = bash
        depends = vim
        provides = edit
        provides = ex
@@ -15,10 +14,7 @@ pkgbase = ex-vi-compat
        conflicts = vi
        replaces = vi
        source = LICENSE
-       source = vi.sh
        sha512sums = 
a33658d9271e5c537ccd41bf540b463ad2a5eca4a060c80486ff42a736f0aa042d10436e7177c34d792177cb11285243dee1f31c4df54fb0bfaabbc306406930
-       sha512sums = 
ab7c10ad1494e147ffe2dfaa5b131c10bb3dcd4e5ebbb9974084a1cb1d8a70be5e56e8e135f6150e6ac15a6c89def3b4a0363f4990061c4d7610f706b874d415
        b2sums = 
a29664104e1ee73ca0aee1d633e9095d92a57c92787f8d8740bdb7211ba3205782ed8677f539bdb8cae3dd75a3694be3132e185fa3fc4b3f401e1f88eb776101
-       b2sums = 
86abf9927400066ae659b494d5fa8908cc6da5901d93e7a79ba20f04fed43afb1e275231ed9fbbf85324f63a2a8e59d310c9483fc3c2aa9fef61443a8d94537a
 
 pkgname = ex-vi-compat


=====================================
PKGBUILD
=====================================
@@ -1,16 +1,13 @@
 # Maintainer: David Runge <[email protected]>
 
 pkgname=ex-vi-compat
-pkgver=1
-pkgrel=3
+pkgver=2
+pkgrel=1
 pkgdesc="The ex and vi commands based on vim's compatibility modes"
 arch=(any)
 url="https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat";
 license=(0BSD)
-depends=(
-  bash
-  vim
-)
+depends=(vim)
 provides=(
   edit
   ex
@@ -18,26 +15,17 @@ provides=(
   vi
   view
 )
-conflicts=(
-  vi
-)
-replaces=(
-  vi
-)
-source=(
-  LICENSE
-  vi.sh
-)
-sha512sums=('a33658d9271e5c537ccd41bf540b463ad2a5eca4a060c80486ff42a736f0aa042d10436e7177c34d792177cb11285243dee1f31c4df54fb0bfaabbc306406930'
-            
'ab7c10ad1494e147ffe2dfaa5b131c10bb3dcd4e5ebbb9974084a1cb1d8a70be5e56e8e135f6150e6ac15a6c89def3b4a0363f4990061c4d7610f706b874d415')
-b2sums=('a29664104e1ee73ca0aee1d633e9095d92a57c92787f8d8740bdb7211ba3205782ed8677f539bdb8cae3dd75a3694be3132e185fa3fc4b3f401e1f88eb776101'
-        
'86abf9927400066ae659b494d5fa8908cc6da5901d93e7a79ba20f04fed43afb1e275231ed9fbbf85324f63a2a8e59d310c9483fc3c2aa9fef61443a8d94537a')
+conflicts=(vi)
+replaces=(vi)
+source=(LICENSE)
+sha512sums=('a33658d9271e5c537ccd41bf540b463ad2a5eca4a060c80486ff42a736f0aa042d10436e7177c34d792177cb11285243dee1f31c4df54fb0bfaabbc306406930')
+b2sums=('a29664104e1ee73ca0aee1d633e9095d92a57c92787f8d8740bdb7211ba3205782ed8677f539bdb8cae3dd75a3694be3132e185fa3fc4b3f401e1f88eb776101')
 
 package() {
   local cmd
 
-  install -vDm 755 vi.sh "$pkgdir/usr/bin/vi"
-  for cmd in {edit,ex,vedit,view} ; do
+  install -vdm 755 "$pkgdir/usr/bin/"
+  for cmd in {edit,ex,vedit,vi,view} ; do
     ln -sv vim "$pkgdir/usr/bin/$cmd"
   done
   install -vDm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/0BSD.txt"


=====================================
vi.sh deleted
=====================================
@@ -1,7 +0,0 @@
-#!/usr/bin/bash
-#
-# Calls `vim` using its `vi` compatibility mode (`-C`).
-# Ignores `vim` configuration files (`-u NONE`) as `vim` specifics are not 
supported in `vi` anyways.
-# Accepts further options.
-
-vim -C -u NONE "$@"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat/-/compare/24aa67b808e348a7aef836913d077ca21f18d421...6f14b76a9c72550bdd763adf1f649cafa6ee2865

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ex-vi-compat/-/compare/24aa67b808e348a7aef836913d077ca21f18d421...6f14b76a9c72550bdd763adf1f649cafa6ee2865
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to