[arch-commits] Commit in nano/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Aug 9 13:54:44 EDT 2010


    Date: Monday, August 9, 2010 @ 13:54:43
  Author: andyrtr
Revision: 87034

upgpkg: nano 2.2.5-1
new version 2.2.5

Modified:
  nano/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-09 17:45:53 UTC (rev 87033)
+++ PKGBUILD	2010-08-09 17:54:43 UTC (rev 87034)
@@ -3,7 +3,7 @@
 # Contributor: Judd <judd at archlinux.org>
 
 pkgname=nano
-pkgver=2.2.4
+pkgver=2.2.5
 pkgrel=1
 pkgdesc="Pico editor clone with enhancements"
 arch=('i686' 'x86_64')
@@ -14,13 +14,17 @@
 source=(http://www.nano-editor.org/dist/v2.2/nano-${pkgver}.tar.gz)
 backup=(etc/nanorc)
 install=nano.install
-md5sums=('6304308afb1f7ef4a5e93eb99206632a')
+md5sums=('77a10a49589f975ce98350a4527a2ebf')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc --enable-color --enable-nanorc \
 	--enable-multibuffer --disable-wrapping-as-root
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
   install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc
 }



More information about the arch-commits mailing list