archrelease: copy trunk to extra-x86_64
[arch-packages.git] / nano / repos / core-x86_64 / PKGBUILD
blob0042b7cf0ea9f5e54aa3f3a8c7a6df9e8c2ab5e2
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Judd <judd@archlinux.org>
4 pkgname=nano
5 pkgver=6.4
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 options=('debug')
14 source=(https://www.nano-editor.org/dist/v6/${pkgname}-${pkgver}.tar.xz{,.asc})
15 sha256sums=('4199ae8ca78a7796de56de1a41b821dc47912c0307e9816b56cc317df34661c0'
16             'SKIP')
17 #validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7') # "Chris Allegretta <chrisa@asty.org>"
18 #validpgpkeys=('A7F6A64A67DA09EF92782DD79DF4862AF1175C5B') # "Benno Schulenberg <bensberg@justemail.net>"
19 validpgpkeys=('BFD009061E535052AD0DF2150D28D4D2A0ACE884') # "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