summaryrefslogtreecommitdiff
path: root/core/readline
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
commite2a2cddf54e26ab2f6551c9d27b997472e5f4d45 (patch)
tree506c782411889ae8fe218db16eee680c7ae5e0e2 /core/readline
parent7927a6b6296eecd09c8d2f70e593a378768deabe (diff)
parent5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk2hs-cairo/PKGBUILD community/gtk2hs-glib/PKGBUILD community/gtk2hs-gtk/PKGBUILD community/gtk2hs-pango/PKGBUILD community/haskell-dbus/PKGBUILD community/haskell-hslogger/PKGBUILD community/kvirc/PKGBUILD community/perl-gtk2-trayicon/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD core/glibc/PKGBUILD core/linux-api-headers/PKGBUILD extra/krusader/PKGBUILD extra/libproxy/PKGBUILD extra/libreoffice/PKGBUILD extra/openal/PKGBUILD extra/postgresql/PKGBUILD extra/razor/PKGBUILD extra/subversion/PKGBUILD extra/swt/PKGBUILD extra/valgrind/PKGBUILD kde-unstable/kdebase-runtime/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD libre/kernel26-libre/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD testing/git/PKGBUILD testing/graphviz/PKGBUILD testing/graphviz/install testing/perl-xml-parser/PKGBUILD
Diffstat (limited to 'core/readline')
-rw-r--r--core/readline/PKGBUILD6
-rw-r--r--core/readline/readline.install6
2 files changed, 5 insertions, 7 deletions
diff --git a/core/readline/PKGBUILD b/core/readline/PKGBUILD
index ea85a190e..f44e6be37 100644
--- a/core/readline/PKGBUILD
+++ b/core/readline/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 111803 2011-03-01 02:29:23Z allan $
+# $Id: PKGBUILD 129370 2011-06-27 05:49:47Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
@@ -6,13 +6,15 @@ pkgname=readline
_basever=6.2
_patchlevel=001 #prepare for some patches
pkgver=$_basever.$_patchlevel
-pkgrel=1
+pkgrel=2
pkgdesc="GNU readline library"
arch=('i686' 'x86_64' 'mips64el')
url="http://tiswww.case.edu/php/chet/readline/rltop.html"
license=('GPL')
depends=('glibc' 'ncurses')
backup=('etc/inputrc')
+options=('!emptydirs')
+install=readline.install
source=(http://ftp.gnu.org/gnu/readline/readline-$_basever.tar.gz
inputrc)
if [ $_patchlevel -gt 00 ]; then
diff --git a/core/readline/readline.install b/core/readline/readline.install
index a8ffe80c6..06b646f23 100644
--- a/core/readline/readline.install
+++ b/core/readline/readline.install
@@ -1,17 +1,13 @@
infodir=usr/share/info
filelist=(history.info readline.info rluserman.info)
-post_install() {
+post_upgrade() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
-post_upgrade() {
- post_install $1
-}
-
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do