summaryrefslogtreecommitdiff
path: root/core/vi
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-06 03:43:28 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-06 03:43:28 +0000
commitb464c2860e91a60ffce805697b504bfbf7715148 (patch)
tree3054911ec7bee24f4b196eaaca8d65eb855332d5 /core/vi
parent4cd3fcfccda5c0375669bd300834ac77a0a617fb (diff)
Sun Jul 6 03:41:15 UTC 2014
Diffstat (limited to 'core/vi')
-rw-r--r--core/vi/PKGBUILD33
1 files changed, 16 insertions, 17 deletions
diff --git a/core/vi/PKGBUILD b/core/vi/PKGBUILD
index ae8573497..cc1222e44 100644
--- a/core/vi/PKGBUILD
+++ b/core/vi/PKGBUILD
@@ -1,44 +1,43 @@
-# $Id: PKGBUILD 197845 2013-10-30 11:07:27Z allan $
-# Maintainer: tobias [ tobias at archlinux org ]
+# $Id: PKGBUILD 216544 2014-07-05 14:33:23Z eric $
+# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=vi
pkgver=050325
-pkgrel=3
+pkgrel=4
epoch=1
-pkgdesc='The original ex/vi text editor.'
+pkgdesc="The original ex/vi text editor"
arch=('i686' 'x86_64')
-url='http://ex-vi.sourceforge.net/'
+url="http://ex-vi.sourceforge.net/"
license=('custom:ex')
depends=('ncurses')
optdepends=('heirloom-mailx: used by the preserve command for notification')
groups=('base')
-options=(strip emptydirs)
source=(http://downloads.sourceforge.net/sourceforge/ex-vi/ex-${pkgver}.tar.bz2
navkeys.patch
increase-tube.patch
preserve_dir.patch)
-md5sums=('e668595254233e4d96811083a3e4e2f3'
- 'aac133930047eafa4f28736cfaf976b3'
- 'e596e05a00a24187b576e389fa1de45d'
- '8c6d3503e7c41a4413145ae49a7f2b80')
-
-build() {
- cd "${srcdir}/ex-${pkgver}"
+sha1sums=('573501d15fa4be59f136641957c7f893e86bac82'
+ '9ff3e79dd5f4ba29bd439f2c86afbc748c95ec3d'
+ '7039755bf1dd27b4aa5384e76ee52e31d06f9972'
+ 'ff399edd106eb0b61cc58f66812c2a2c8ea7670d')
+prepare() {
+ cd ex-${pkgver}
patch -Np1 -i ../navkeys.patch
patch -Np0 -i ../increase-tube.patch
# FS#20653
patch -Np1 -i ../preserve_dir.patch
+}
+build() {
+ cd ex-${pkgver}
make PREFIX=/usr LIBEXECDIR=/usr/lib/ex PRESERVEDIR=/var/lib/ex \
'FEATURES=-DCHDIR -DFASTTAG -DUCVISUAL -DMB -DBIT8' TERMLIB=ncurses
}
package() {
- cd "${srcdir}/ex-${pkgver}"
-
+ cd ex-${pkgver}
make PREFIX=/usr LIBEXECDIR=/usr/lib/ex PRESERVEDIR=/var/lib/ex INSTALL=/usr/bin/install \
- DESTDIR="$pkgdir" install
-
+ DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}