1 # Maintainer: Rudy Matela <rudy.matela@gmail.com>
2 # Based on early pkgbuild by froggie <haptikers@gmail.com>
3 # Date: 2008-10-24 17:36
7 pkgdesc="A vi clone with special security features (With Slackware ``Patch'')"
9 source=("ftp://ftp.cs.pdx.edu/pub/elvis/elvis-$pkgver.tar.gz"
10 "http://slackware.osuosl.org/slackware_source/a/elvis/elvis.clr"
11 "http://slackware.osuosl.org/slackware_source/a/elvis/elvis.clr.orig"
13 url="http://elvis.the-little-red-haired-girl.org/"
14 md5sums=('6831b8df3e4a530395e66c2889783752'
15 'c47a70cb176ebf2eb99b055c4048a560'
16 'a4539efb7e8fae629da375d98d3d6ae8'
17 'd7517d3dad19f04d4d9a78a18e16e3d1')
18 arch=('i686' 'x86_64')
19 license=('PerlArtistic')
24 cd $srcdir/elvis-$pkgver
25 cp $srcdir/elvis.clr* ./data
26 patch -p0 < $srcdir/getline.patch
27 ./configure --prefix=/usr --without-x --without-gnome --verbose
28 sed 's/\<CTAGS\>/ELVTAGS/g; s/ctags\>/elvtags/g; s/ant" elvtags/ant" ctags/' doc/ctags.man >doc/elvtags.man
29 /usr/bin/make || return 1
31 /bin/mkdir -p $pkgdir/usr/bin/
32 for i in elvis ref elvtags elvfmt; do
33 install -s -m755 $i $pkgdir/usr/bin/
36 cd $srcdir/elvis-$pkgver/data/
37 /bin/mkdir -p $pkgdir/usr/share/elvis/
38 cp -r * $pkgdir/usr/share/elvis/
40 cd $srcdir/elvis-$pkgver/doc/
41 /bin/mkdir -p $pkgdir/usr/share/man/man1/
42 for i in elvis ref elvtags elvfmt; do
45 install -m644 $i.1.gz $pkgdir/usr/share/man/man1/