29 lines
927 B
Bash
29 lines
927 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=vis
|
|
pkgver=0.7
|
|
pkgrel=1
|
|
pkgdesc="Modern, legacy free, simple yet efficient vim-like editor"
|
|
arch=('i686' 'x86_64')
|
|
url='https://github.com/martanne/vis'
|
|
depends=('acl' 'bash' 'ncurses' 'libtermkey' 'lua' 'lua-lpeg' 'tre' 'file')
|
|
optdepends=('xclip: X11 clipboard support'
|
|
'xsel: X11 clipboard support')
|
|
license=('ISC')
|
|
backup=('etc/vis/visrc.lua')
|
|
source=("https://deb.debian.org/debian/pool/main/v/vis/vis_${pkgver}.orig.tar.xz")
|
|
sha512sums=('a246ecf1b408854567ef97985a7564aa8703f3eaac1a98a2fe0b9345a71ec06958c77f682ffce58020a69ee115c547e0f56cf6d3c8cff2b0f61706c8d25ded11')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m0644 lua/visrc.lua "${pkgdir}"/etc/vis/visrc.lua
|
|
install -D -m0644 'LICENSE' -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|