From 3cc3a872b41262b9349f65c7f78febf15c5fd47e Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 3 Feb 2022 21:21:05 +0000 Subject: [PATCH] Rebuild to add debug package. Remove --without-debug from configure call: https://bugs.archlinux.org/task/68619 Simplify call to make in package(). --- PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 89485a1..8322903 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=ncurses pkgver=6.3 -pkgrel=1 +pkgrel=2 pkgdesc='System V Release 4.0 curses emulation library' arch=(x86_64) url='https://invisible-island.net/ncurses/ncurses.html' @@ -15,6 +15,7 @@ makedepends=(autoconf-archive) optdepends=('bash: for ncursesw6-config') provides=(libncurses++w.so libformw.so libmenuw.so libpanelw.so libncursesw.so) replaces=(alacritty-terminfo) +options=(debug) source=( "https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc} "${pkgname}-6.3-libs.patch" @@ -53,15 +54,13 @@ build() { --with-pkg-config-libdir=/usr/lib/pkgconfig \ --with-shared \ --with-versioned-syms \ - --without-ada \ - --without-debug + --without-ada make } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/" + make DESTDIR="$pkgdir" install -C $pkgname-$pkgver + install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/" # fool packages looking to link to non-wide-character ncurses libraries for lib in ncurses ncurses++ form panel menu; do