35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
# Contributor: Judd <judd@archlinux.org>
|
|
|
|
pkgname=nano
|
|
pkgver=8.1
|
|
pkgrel=1
|
|
pkgdesc="Pico editor clone with enhancements"
|
|
arch=('x86_64')
|
|
license=('GPL-3.0-or-later')
|
|
url="https://www.nano-editor.org"
|
|
depends=('ncurses' 'file' 'glibc')
|
|
backup=('etc/nanorc')
|
|
source=(https://www.nano-editor.org/dist/v8/${pkgname}-${pkgver}.tar.xz{,.asc})
|
|
sha256sums=('93b3e3e9155ae389fe9ccf9cb7ab380eac29602835ba3077b22f64d0f0cbe8cb'
|
|
'SKIP')
|
|
#validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7') # "Chris Allegretta <chrisa@asty.org>"
|
|
#validpgpkeys=('A7F6A64A67DA09EF92782DD79DF4862AF1175C5B') # "Benno Schulenberg <bensberg@justemail.net>"
|
|
#validpgpkeys=('BFD009061E535052AD0DF2150D28D4D2A0ACE884') # "Benno Schulenberg <bensberg@telfort.nl>"
|
|
validpgpkeys=('168E6F4297BFD7A79AFD4496514BBE2EB8E1961F') # "Benno Schulenberg <bensberg@telfort.nl>"
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-color \
|
|
--enable-nanorc \
|
|
--enable-multibuffer
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
install -DTm644 "${srcdir}"/${pkgname}-${pkgver}/doc/sample.nanorc "${pkgdir}"/etc/nanorc
|
|
}
|