summaryrefslogtreecommitdiff
path: root/community/vile/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-01 10:50:46 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-01 10:50:46 -0300
commit3aff11a8581ae7e5a8ccea02062cd92f873c44c5 (patch)
tree05623159a5ae88f6eed2414db216bc9a0d2d71c5 /community/vile/PKGBUILD
parentd4157e6db6dd7e03802aa9c361a1902e81c2545a (diff)
parent9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/geany/PKGBUILD community/linux-tools/PKGBUILD community/linux-tools/cpupower.conf community/linux-tools/cpupower.rc community/stk/PKGBUILD core/patch/PKGBUILD core/systemd/PKGBUILD extra/lftp/PKGBUILD extra/lftp/lftp-4.3.8-gets.patch extra/mysql/PKGBUILD extra/qt/PKGBUILD extra/transmission/PKGBUILD gnome-unstable/gcr/PKGBUILD gnome-unstable/glibmm/PKGBUILD gnome-unstable/gnome-session/PKGBUILD gnome-unstable/libgdata/PKGBUILD gnome-unstable/libgnome-keyring/PKGBUILD gnome-unstable/pango/PKGBUILD gnome-unstable/polkit/PKGBUILD gnome-unstable/telepathy-glib/PKGBUILD libre/linux-libre/PKGBUILD multilib/lib32-libphobos-ldc/PKGBUILD multilib/wine/PKGBUILD testing/dbus-core/PKGBUILD testing/dbus/PKGBUILD testing/libusbx/PKGBUILD testing/systemd/PKGBUILD testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'community/vile/PKGBUILD')
-rw-r--r--community/vile/PKGBUILD41
1 files changed, 34 insertions, 7 deletions
diff --git a/community/vile/PKGBUILD b/community/vile/PKGBUILD
index 3e205501d..189f1d3b8 100644
--- a/community/vile/PKGBUILD
+++ b/community/vile/PKGBUILD
@@ -1,25 +1,52 @@
-# $Id: PKGBUILD 76396 2012-09-17 08:49:52Z spupykin $
+# $Id: PKGBUILD 76743 2012-09-28 19:43:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=vile
-pkgver=9.8
-pkgrel=2
+pkgver=9.8_i
+_basever=9.8
+pkgrel=1
pkgdesc="vi like emacs"
arch=('i686' 'x86_64' 'mips64el')
url="http://invisible-island.net/vile/vile.html"
depends=('ncurses')
license=('custom')
options=(!libtool)
-source=(ftp://invisible-island.net/vile/vile-$pkgver.tgz)
-md5sums=('b5a0d89165f633a662cdb4b5c57f2e2f')
+source=("ftp://invisible-island.net/vile/vile-${_basever}.tgz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}a.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}b.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}c.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}d.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}e.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}f.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}g.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}h.patch.gz"
+ "ftp://invisible-island.net/vile/patches/vile-${_basever}i.patch.gz")
+md5sums=('b5a0d89165f633a662cdb4b5c57f2e2f'
+ '685cb681943e9315a1689a6a6f4734cb'
+ 'f3842ea427c635d0ee96f6da8566fa56'
+ '69cfdbb0b84a51802455bbe44a5ce32e'
+ '5d675193bc02ac4cab72452bf0051489'
+ '1e6317a15d7b2cd99f921f3af312b977'
+ '7f8a38272395f07e1377cc1943d37e7f'
+ '26ab76a7305b7ec97b22855810911ceb'
+ '6ea4cf22e29f5418f26ba6632985c70e'
+ '908e8f9cf3c9a681c3ef76a3cd04a0c3')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir/$pkgname-${_basever}
+
+ for i in $srcdir/vile-${_basever}?.patch; do
+ patch -p1 <$i
+ done
sed -i 's|FLEX_BETA|FLEX_NOBETA|g' filters/filters.h
+
./configure --prefix=/usr
make
+}
+
+package() {
+ cd $srcdir/$pkgname-${_basever}
make install DESTDIR=$pkgdir
- mv $pkgdir/usr/man $pkgdir/usr/share/
mkdir -p $pkgdir/usr/share/licenses/$pkgname
cat <<EOF >$pkgdir/usr/share/licenses/$pkgname/license