Skip to content

Commit

Permalink
nano: Update to 8.3 (#5110)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka authored Feb 11, 2025
1 parent 0194c5b commit e0a7e3c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
11 changes: 11 additions & 0 deletions nano/0001-fix-link-order.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- nano-8.3/src/Makefile.am.orig 2025-02-11 19:12:25.787061900 +0100
+++ nano-8.3/src/Makefile.am 2025-02-11 19:13:21.219731800 +0100
@@ -42,7 +42,7 @@
utils.c \
winio.c

-nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a \
+nano_LDADD = $(top_builddir)/lib/libgnu.a @LIBINTL@ \
$(GETRANDOM_LIB) $(CLOCK_TIME_LIB) $(LIBTHREAD)

install-exec-hook:
18 changes: 14 additions & 4 deletions nano/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <[email protected]>

pkgname=nano
pkgver=8.2
pkgver=8.3
pkgrel=1
pkgdesc="Pico editor clone with enhancements"
arch=('i686' 'x86_64')
Expand All @@ -19,13 +19,23 @@ makedepends=('autotools'
'libiconv-devel'
'gettext-devel')
backup=('etc/nanorc')
source=(https://www.nano-editor.org/dist/v8/${pkgname}-${pkgver}.tar.xz{,.asc})
sha256sums=('d5ad07dd862facae03051c54c6535e54c7ed7407318783fcad1ad2d7076fffeb'
'SKIP')
source=(https://www.nano-editor.org/dist/v8/${pkgname}-${pkgver}.tar.xz{,.asc}
"0001-fix-link-order.patch")
sha256sums=('551b717b2e28f7e90f749323686a1b5bbbd84cfa1390604d854a3ca3778f111e'
'SKIP'
'fd89f31bd8813db14587241ef4526f929dcee17b97572b70e92f2db40b53c859')
validpgpkeys=(
'168E6F4297BFD7A79AFD4496514BBE2EB8E1961F' # Benno Schulenberg <[email protected]>
)

prepare() {
cd "${pkgname}-${pkgver}"

patch -Np1 -i "${srcdir}/0001-fix-link-order.patch"

autoreconf -vfi
}

build() {
cd ${srcdir}/${pkgname}-${pkgver}

Expand Down

0 comments on commit e0a7e3c

Please sign in to comment.