[arch-commits] Commit in librep/repos (4 files)
Juergen Hoetzel
juergen at archlinux.org
Tue Jan 6 13:50:11 UTC 2009
Date: Tuesday, January 6, 2009 @ 08:50:11
Author: juergen
Revision: 23235
Merged revisions 23232,23234 via svnmerge from
svn+ssh://svn.archlinux.org/srv/svn-packages/librep/trunk
........
r23232 | juergen | 2009-01-06 14:17:36 +0100 (Di, 06 Jan 2009) | 1 line
upgpkg: librep 0.17.2-1
........
r23234 | juergen | 2009-01-06 14:22:27 +0100 (Di, 06 Jan 2009) | 1 line
Install info file
........
Added:
librep/repos/extra-i686/librep.install
(from rev 23234, librep/trunk/librep.install)
Modified:
librep/repos/extra-i686/ (properties)
librep/repos/extra-i686/PKGBUILD
librep/repos/extra-i686/librep.patch
----------------+
PKGBUILD | 20 +++++++++-----------
librep.install | 22 ++++++++++++++++++++++
librep.patch | 45 +++++++++++++++++++--------------------------
3 files changed, 50 insertions(+), 37 deletions(-)
Property changes on: librep/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
- /librep/trunk:1-9839
+ /librep/trunk:1-23234
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2009-01-06 13:22:27 UTC (rev 23234)
+++ extra-i686/PKGBUILD 2009-01-06 13:50:11 UTC (rev 23235)
@@ -2,28 +2,26 @@
# Maintainer: dorphell <dorphell at archlinux.org>
pkgname=librep
-pkgver=0.17.1
-pkgrel=2
+pkgver=0.17.2
+pkgrel=1
pkgdesc="A Lisp system for UNIX"
depends=('gmp' 'gdbm' 'bash' 'ncurses>=5.6-7')
-source=(http://www.nanolx.org/free/librep-0.17.1.tar.bz2
- 'librep.patch' 'rep_file_fdopen.patch')
+source=(http://www.nanolx.org/free/librep-0.17.2.tar.bz2 librep.patch)
+md5sums=('8b1b037bd353ed4e3b08a4797f4c2c7c' 'b75632f6918a48ae75bdf5f2646878ed')
license=('GPL2')
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/librep"
-md5sums=('21f3edfa1c03400bdb7068bf0b240b9d'
- '0aea66ba85b3b079db6ad12cf70f7d89'
- 'ad28e56472f07a05a704ecfc7cf58434')
+install=librep.install
+
build() {
cd $srcdir/$pkgname-$pkgver
- patch -Np1 -i ../librep.patch
- patch -Np1 -i ../rep_file_fdopen.patch
- ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname --with-readline
+ patch -p1 -i $srcdir/librep.patch || return 1
+ ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/$pkgname --with-readline || return 1
make || return 1
# create some directories or make install fails
install -d $pkgdir/usr/{share/aclocal,lib/pkgconfig}
-
make DESTDIR=$pkgdir install
+ rm $pkgdir/usr/share/info/dir
}
Copied: librep/repos/extra-i686/librep.install (from rev 23234, librep/trunk/librep.install)
===================================================================
--- extra-i686/librep.install (rev 0)
+++ extra-i686/librep.install 2009-01-06 13:50:11 UTC (rev 23235)
@@ -0,0 +1,22 @@
+info_dir=/usr/share/info
+info_files=(librep.info)
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f ${info_dir}/dir 2> /dev/null
+ done
+}
+
+op=$1
+shift
+$op $*
Modified: extra-i686/librep.patch
===================================================================
--- extra-i686/librep.patch 2009-01-06 13:22:27 UTC (rev 23234)
+++ extra-i686/librep.patch 2009-01-06 13:50:11 UTC (rev 23235)
@@ -1,28 +1,21 @@
-diff -Naur librep-0.16-orig/man/Makefile.in librep-0.16/man/Makefile.in
---- librep-0.16-orig/man/Makefile.in 2002-04-14 13:01:38.000000000 -0700
-+++ librep-0.16/man/Makefile.in 2002-08-24 20:46:08.000000000 -0700
-@@ -24,7 +24,7 @@
+--- librep-0.17.2/configure.in~ 2008-12-27 12:10:42.000000000 -0700
++++ librep-0.17.2/configure.in 2008-12-27 12:11:26.000000000 -0700
+@@ -22,6 +22,7 @@ AC_REVISION($Revision: 1.146 $)
- SRCS = librep.texi lang.texi repl.texi news.texi interface.texi
+ AC_INIT(src/rep_subrs.h)
+ AC_CONFIG_HEADER(config.h src/rep_config.h)
++AC_CONFIG_MACRO_DIR([m4])
--all : librep.info ../NEWS
-+all : ../NEWS
-
- ../NEWS : news.texi
- $(MAKEINFO) $(MAKEINFOFLAGS) --no-headers $< -o ../NEWS
-@@ -44,14 +44,9 @@
- librep.pdf : $(SRCS)
- $(TEXI2PDF) -I $(srcdir) $<
-
--install : librep.info installdirs
-- for f in librep.info*; do \
-- $(INSTALL_DATA) $$f $(DESTDIR)$(infodir); \
-- done
-- -install-info --info-dir=$(DESTDIR)$(infodir) librep.info
-+install : installdirs
-
- installdirs : mkinstalldirs
-- $(SHELL) $< $(DESTDIR)$(infodir)
-
- uninstall :
- rm -f $(DESTDIR)$(infodir)/librep.info*
+ dnl Release versioning info
+ version="0.17.2"
+--- librep-0.17.2/autogen.sh~ 2008-08-14 09:30:42.000000000 -0600
++++ librep-0.17.2/autogen.sh 2008-12-27 12:32:13.000000000 -0700
+@@ -9,7 +9,7 @@ if [ -f configure.in ]; then
+ fi
+ if grep "A[MC]_PROG_LIBTOOL" configure.in >/dev/null; then
+ echo "Running libtoolize"
+- libtoolize --force --copy || exit 1
++ libtoolize --install --force --copy || exit 1
+ fi
+ echo "Running aclocal $ACLOCAL_FLAGS"
+ aclocal $ACLOCAL_FLAGS || exit 1
More information about the arch-commits
mailing list