[arch-commits] Commit in nano/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Wed Dec 15 16:10:28 UTC 2021
Date: Wednesday, December 15, 2021 @ 16:10:27
Author: andyrtr
Revision: 432573
archrelease: copy trunk to testing-x86_64
Added:
nano/repos/testing-x86_64/
nano/repos/testing-x86_64/PKGBUILD
(from rev 432572, nano/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: nano/repos/testing-x86_64/PKGBUILD (from rev 432572, nano/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-12-15 16:10:27 UTC (rev 432573)
@@ -0,0 +1,35 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Judd <judd at archlinux.org>
+
+pkgname=nano
+pkgver=6.0
+pkgrel=1
+pkgdesc="Pico editor clone with enhancements"
+arch=('x86_64')
+license=('GPL')
+url="https://www.nano-editor.org"
+depends=('ncurses' 'file' 'sh')
+backup=('etc/nanorc')
+source=(https://www.nano-editor.org/dist/v6/${pkgname}-${pkgver}.tar.xz{,.asc})
+sha256sums=('93ac8cb68b4ad10e0aaeb80a2dd15c5bb89eb665a4844f7ad01c67efcb169ea2'
+ 'SKIP')
+validpgpkeys=('8DA6FE7BFA7A418AB3CB2354BCB356DF91009FA7' # "Chris Allegretta <chrisa at asty.org>"
+ 'A7F6A64A67DA09EF92782DD79DF4862AF1175C5B' # "Benno Schulenberg <bensberg at justemail.net>"
+ 'BFD009061E535052AD0DF2150D28D4D2A0ACE884' # "Benno Schulenberg <bensberg at 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
+}
More information about the arch-commits
mailing list