summaryrefslogtreecommitdiffstats
path: root/abs/core/nano/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nano/PKGBUILD')
-rw-r--r--abs/core/nano/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/abs/core/nano/PKGBUILD b/abs/core/nano/PKGBUILD
index 6ecfd29..4b3b2d1 100644
--- a/abs/core/nano/PKGBUILD
+++ b/abs/core/nano/PKGBUILD
@@ -1,7 +1,9 @@
-# $Id: PKGBUILD 10350 2008-08-27 14:18:15Z andyrtr $
-# Maintainer: Judd <judd@archlinux.org>
+# $Id: PKGBUILD 87034 2010-08-09 17:54:43Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Judd <judd@archlinux.org>
+
pkgname=nano
-pkgver=2.2.4
+pkgver=2.2.5
pkgrel=1
pkgdesc="Pico editor clone with enhancements"
arch=('i686' 'x86_64')
@@ -12,14 +14,17 @@ depends=('glibc' 'ncurses')
source=(http://www.nano-editor.org/dist/v2.2/nano-${pkgver}.tar.gz)
backup=(etc/nanorc)
install=nano.install
+md5sums=('77a10a49589f975ce98350a4527a2ebf')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc --enable-color --enable-nanorc --enable-multibuffer --disable-wrapping
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
- install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-color --enable-nanorc \
+ --enable-multibuffer --disable-wrapping-as-root
+ make
+}
- rm -f ${pkgdir}/usr/share/info/dir
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
}
-md5sums=('6304308afb1f7ef4a5e93eb99206632a')