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

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 21:22:40 UTC 2015


    Date: Sunday, September 6, 2015 @ 23:22:40
  Author: foutrelis
Revision: 245408

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  nano/repos/staging-i686/
  nano/repos/staging-i686/PKGBUILD
    (from rev 245407, nano/trunk/PKGBUILD)
  nano/repos/staging-i686/nano.install
    (from rev 245407, nano/trunk/nano.install)
  nano/repos/staging-x86_64/
  nano/repos/staging-x86_64/PKGBUILD
    (from rev 245407, nano/trunk/PKGBUILD)
  nano/repos/staging-x86_64/nano.install
    (from rev 245407, nano/trunk/nano.install)

-----------------------------+
 staging-i686/PKGBUILD       |   36 ++++++++++++++++++++++++++++++++++++
 staging-i686/nano.install   |   20 ++++++++++++++++++++
 staging-x86_64/PKGBUILD     |   36 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/nano.install |   20 ++++++++++++++++++++
 4 files changed, 112 insertions(+)

Copied: nano/repos/staging-i686/PKGBUILD (from rev 245407, nano/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-06 21:22:40 UTC (rev 245408)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Judd <judd at archlinux.org>
+
+pkgname=nano
+pkgver=2.4.2
+pkgrel=2
+pkgdesc="Pico editor clone with enhancements"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.nano-editor.org"
+groups=('base')
+depends=('ncurses' 'file' 'sh')
+backup=('etc/nanorc')
+install=nano.install
+source=(http://www.nano-editor.org/dist/v2.4/${pkgname}-${pkgver}.tar.gz{,.asc})
+md5sums=('ce6968992fec4283c17984b53554168b'
+         'SKIP')
+validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7') # "Chris Allegretta <chrisa at asty.org>"
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --enable-color \
+    --enable-nanorc \
+    --enable-multibuffer \
+    --disable-wrapping-as-root
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
+}

Copied: nano/repos/staging-i686/nano.install (from rev 245407, nano/trunk/nano.install)
===================================================================
--- staging-i686/nano.install	                        (rev 0)
+++ staging-i686/nano.install	2015-09-06 21:22:40 UTC (rev 245408)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(nano.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $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
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}

Copied: nano/repos/staging-x86_64/PKGBUILD (from rev 245407, nano/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-06 21:22:40 UTC (rev 245408)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Judd <judd at archlinux.org>
+
+pkgname=nano
+pkgver=2.4.2
+pkgrel=2
+pkgdesc="Pico editor clone with enhancements"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.nano-editor.org"
+groups=('base')
+depends=('ncurses' 'file' 'sh')
+backup=('etc/nanorc')
+install=nano.install
+source=(http://www.nano-editor.org/dist/v2.4/${pkgname}-${pkgver}.tar.gz{,.asc})
+md5sums=('ce6968992fec4283c17984b53554168b'
+         'SKIP')
+validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7') # "Chris Allegretta <chrisa at asty.org>"
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --enable-color \
+    --enable-nanorc \
+    --enable-multibuffer \
+    --disable-wrapping-as-root
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
+}

Copied: nano/repos/staging-x86_64/nano.install (from rev 245407, nano/trunk/nano.install)
===================================================================
--- staging-x86_64/nano.install	                        (rev 0)
+++ staging-x86_64/nano.install	2015-09-06 21:22:40 UTC (rev 245408)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(nano.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $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
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}



More information about the arch-commits mailing list