summaryrefslogtreecommitdiffstats
path: root/abs/core/nano/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-06 06:45:17 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-06 06:45:17 (GMT)
commitebc76d7ab6b252f69642e9f73481d1864f3da3c7 (patch)
tree4eb836216b74eb193d4dab681bd110dfc15660e4 /abs/core/nano/PKGBUILD
parentd15fb78ef03a06029a4be89baf458353f3ccbbb0 (diff)
downloadlinhes_pkgbuild-ebc76d7ab6b252f69642e9f73481d1864f3da3c7.zip
linhes_pkgbuild-ebc76d7ab6b252f69642e9f73481d1864f3da3c7.tar.gz
linhes_pkgbuild-ebc76d7ab6b252f69642e9f73481d1864f3da3c7.tar.bz2
nano:bumped to latest.
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')