summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1d27557462d9bf1aa7288d5601e5042616246df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: <https://aur.archlinux.org/user/vorbote>
pkgname=vim-vi
pkgver=1
pkgrel=1
pkgdesc="Replace heirloom vi from core with vim using symlinks."
arch=('any')
url="https://aur.archlinux.org/packages/vim-vi"
license=('GPL')
depends=('vim')
provides=('vi')
conflicts=('vi')
replaces=('vi')

package() {
	mkdir -p "$pkgdir"/usr/bin
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/edit
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/ex
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/vedit
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/vi
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/view
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/redit
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/rex
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/rvedit
	ln -sf /usr/bin/vim "$pkgdir"/usr/bin/rvi
}