diff options
Diffstat (limited to 'core/nano/PKGBUILD')
-rw-r--r-- | core/nano/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/core/nano/PKGBUILD b/core/nano/PKGBUILD new file mode 100644 index 000000000..ab760c2df --- /dev/null +++ b/core/nano/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 101599 2010-11-29 19:19:03Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Judd <judd@archlinux.org> + +pkgname=nano +pkgver=2.2.6 +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') +backup=('etc/nanorc') +install=nano.install +source=(http://www.nano-editor.org/dist/v2.2/${pkgname}-${pkgver}.tar.gz) +md5sums=('03233ae480689a008eb98feb1b599807') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-color \ + --enable-nanorc \ + --enable-multibuffer \ + --disable-wrapping-as-root + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -DTm644 ${srcdir}/${pkgname}-${pkgver}/doc/nanorc.sample ${pkgdir}/etc/nanorc +} |