OCaml 4.13.1 rebuild
[arch-packages.git] / nano / trunk / PKGBUILD
blobd9094d4dc0ba1bd4022f7692593065921bcbd6b2
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Judd <judd@archlinux.org>
4 pkgname=nano
5 pkgver=5.9
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/v5/${pkgname}-${pkgver}.tar.xz{,.asc})
14 sha256sums=('757db8cda4bb2873599e47783af463e3b547a627b0cabb30ea7bf71fb4c24937'
15             'SKIP')
16 validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7' # "Chris Allegretta <chrisa@asty.org>"
17               'A7F6A64A67DA09EF92782DD79DF4862AF1175C5B' # "Benno Schulenberg <bensberg@justemail.net>"
18               '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