[arch-commits] Commit in nano/repos (3 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Aug 27 10:18:16 EDT 2008


    Date: Wednesday, August 27, 2008 @ 10:18:15
  Author: andyrtr
Revision: 10350

Merged revisions 10274-10349 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/nano/trunk

........
  r10347 | andyrtr | 2008-08-27 13:49:49 +0000 (Mi, 27 Aug 2008) | 2 lines
  
  upgpkg: nano 2.0.8-3
      added info file
........
  r10349 | andyrtr | 2008-08-27 14:17:41 +0000 (Mi, 27 Aug 2008) | 1 line
  
  upgpkg: nano 2.0.8-3
........

Added:
  nano/repos/testing-i686/nano.install
    (from rev 10349, nano/trunk/nano.install)
Modified:
  nano/repos/testing-i686/	(properties)
  nano/repos/testing-i686/PKGBUILD

--------------+
 PKGBUILD     |    6 ++++--
 nano.install |   20 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 2 deletions(-)


Property changes on: nano/repos/testing-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /nano/trunk:1-10273
   + /nano/trunk:1-10349

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2008-08-27 14:17:41 UTC (rev 10349)
+++ testing-i686/PKGBUILD	2008-08-27 14:18:15 UTC (rev 10350)
@@ -2,7 +2,7 @@
 # Maintainer: Judd <judd at archlinux.org>
 pkgname=nano
 pkgver=2.0.8
-pkgrel=2
+pkgrel=3
 pkgdesc="Pico editor clone with enhancements"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -12,7 +12,7 @@
 source=(http://www.nano-editor.org/dist/v2.0/nano-${pkgver}.tar.gz)
 backup=(etc/nanorc)
 md5sums=('fcb2a26285921458b6fe381c2802b1a8')
-options=('!docs')
+install=nano.install
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -20,4 +20,6 @@
   make || return 1
   make DESTDIR=${pkgdir} install || return 1
   install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
+
+  rm -f ${pkgdir}/usr/share/info/dir
 }

Copied: nano/repos/testing-i686/nano.install (from rev 10349, nano/trunk/nano.install)
===================================================================
--- testing-i686/nano.install	                        (rev 0)
+++ testing-i686/nano.install	2008-08-27 14:18:15 UTC (rev 10350)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(nano.info)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list