From 2b4ed57e07d7ab7f39ac5d198836e7fa5cb802c1 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 26 Jun 2015 18:21:31 +0000
Subject: nano: update to 2.4.1

---
 abs/core/nano/PKGBUILD | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/abs/core/nano/PKGBUILD b/abs/core/nano/PKGBUILD
index 29daecb..baf3285 100644
--- a/abs/core/nano/PKGBUILD
+++ b/abs/core/nano/PKGBUILD
@@ -1,23 +1,25 @@
-# $Id: PKGBUILD 142207 2011-11-06 08:47:48Z andyrtr $
+# $Id$
 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
 # Contributor: Judd <judd@archlinux.org>
 
 pkgname=nano
-pkgver=2.2.6
-pkgrel=2
+pkgver=2.4.1
+pkgrel=1
 pkgdesc="Pico editor clone with enhancements"
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.nano-editor.org"
 groups=('base')
-depends=('ncurses' 'sh')
+depends=('ncurses' 'file' 'sh')
 backup=('etc/nanorc')
 install=nano.install
-source=(http://www.nano-editor.org/dist/v2.2/${pkgname}-${pkgver}.tar.gz)
-md5sums=('03233ae480689a008eb98feb1b599807')
+source=(http://www.nano-editor.org/dist/v2.4/${pkgname}-${pkgver}.tar.gz{,.asc})
+md5sums=('1c612b478f976abf8ef926480c7a3684'
+         'SKIP')
+validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7') # "Chris Allegretta <chrisa@asty.org>"
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr \
     --sysconfdir=/etc \
     --enable-color \
@@ -28,7 +30,7 @@ build() {
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install
   install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
 }
-- 
cgit v0.12

