blob: 7482b7fd21aef4192f0baf625110615227166a95 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $Id$
# Maintainer: Biell <biell@pobox.com>
pkgname=xvile
_basename=vile
pkgver=9.8_y
_basever=${pkgver//_/}
pkgrel=1
pkgdesc="vi like emacs"
arch=('i686' 'x86_64')
url="http://invisible-island.net/vile/vile.html"
depends=('perl' 'vile' 'xaw3d')
license=('custom')
options=(!libtool)
source=( https://invisible-island.net/archives/vile/current/vile-${_basever}.tgz )
sha256sums=( 1b67f1ef34f5f2075722ab46184bb149735e8538fa912fc07c985c92f78fe381 )
build() {
cd $srcdir/${_basename}-${_basever}
./configure --prefix=/usr --with-x --with-Xaw3d
make || return 1
}
package() {
cd $srcdir/${_basename}-${_basever}
install -D -m 755 xvile $pkgdir/usr/bin/xvile
sed -e 's/ vile / xvile /' ./macros/vile-pager >$pkgdir/usr/bin/xvile-pager
chmod 755 $pkgdir/usr/bin/xvile-pager
install -D -m 644 ./vile.1 $pkgdir/usr/share/man/man1/xvile.1
install -D -m 755 ./xshell.sh $pkgdir/usr/bin/xshell.sh
install -D -m 644 ./macros/vilemenu.rc $pkgdir/usr/share/vile/vilemenu.rc
mkdir -p $pkgdir/usr/share/licenses/$pkgname
cat <<EOF >$pkgdir/usr/share/licenses/$pkgname/license
Copyright
Vile is copyrighted by Paul G. Fox, Thomas E. Dickey and Kevin Buettner with some
files (e.g., visvile) copyright by Clark Morgan.
We distribute it under the terms of the GNU Public License, Version 2.
EOF
}
|