archrelease: copy trunk to extra-x86_64
[arch-packages.git] / nano / trunk / PKGBUILD
blobdcbf80218ba0086145d7cf2a1f442f0d019b0e4e
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Judd <judd@archlinux.org>
4 pkgname=nano
5 pkgver=7.2
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/v7/${pkgname}-${pkgver}.tar.xz{,.asc})
14 sha256sums=('86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526'
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>"
19 validpgpkeys=('168E6F4297BFD7A79AFD4496514BBE2EB8E1961F') # "Benno Schulenberg <bensberg@telfort.nl>" 
21 build() {
22   cd ${pkgname}-${pkgver}
23   ./configure --prefix=/usr \
24     --sysconfdir=/etc \
25     --enable-color \
26     --enable-nanorc \
27     --enable-multibuffer
28   make
31 package() {
32   cd ${pkgname}-${pkgver}
33   make DESTDIR="${pkgdir}" install
34   install -DTm644 "${srcdir}"/${pkgname}-${pkgver}/doc/sample.nanorc "${pkgdir}"/etc/nanorc