archrelease: copy trunk to extra-x86_64
[arch-packages.git] / nano / trunk / PKGBUILD
blob9617732d39ddaaf67ba66134bc07f54f08b3ece7
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Judd <judd@archlinux.org>
4 pkgname=nano
5 pkgver=6.3
6 pkgrel=1
7 pkgdesc="Pico editor clone with enhancements"
8 arch=('x86_64')
9 license=('GPL')
10 url="https://www.nano-editor.org"
11 depends=('ncurses' 'file' 'sh')
12 backup=('etc/nanorc')
13 source=(https://www.nano-editor.org/dist/v6/${pkgname}-${pkgver}.tar.xz{,.asc})
14 sha256sums=('eb532da4985672730b500f685dbaab885a466d08fbbf7415832b95805e6f8687'
15             'SKIP')
16 #validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7') # "Chris Allegretta <chrisa@asty.org>"
17 #validpgpkeys=('A7F6A64A67DA09EF92782DD79DF4862AF1175C5B') # "Benno Schulenberg <bensberg@justemail.net>"
18 validpgpkeys=('BFD009061E535052AD0DF2150D28D4D2A0ACE884') # "Benno Schulenberg <bensberg@telfort.nl>"
20 build() {
21   cd ${pkgname}-${pkgver}
22   ./configure --prefix=/usr \
23     --sysconfdir=/etc \
24     --enable-color \
25     --enable-nanorc \
26     --enable-multibuffer
27   make
30 package() {
31   cd ${pkgname}-${pkgver}
32   make DESTDIR="${pkgdir}" install
33   install -DTm644 "${srcdir}"/${pkgname}-${pkgver}/doc/sample.nanorc "${pkgdir}"/etc/nanorc