blob: 6ecfd294d71c9688de2a1f7352a0e1a6d167a23a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $Id: PKGBUILD 10350 2008-08-27 14:18:15Z andyrtr $
# Maintainer: Judd <judd@archlinux.org>
pkgname=nano
pkgver=2.2.4
pkgrel=1
pkgdesc="Pico editor clone with enhancements"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.nano-editor.org"
groups=('base')
depends=('glibc' 'ncurses')
source=(http://www.nano-editor.org/dist/v2.2/nano-${pkgver}.tar.gz)
backup=(etc/nanorc)
install=nano.install
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
rm -f ${pkgdir}/usr/share/info/dir
}
md5sums=('6304308afb1f7ef4a5e93eb99206632a')
|