Rebuild to add debug package.

Remove --without-debug from configure call:
https://bugs.archlinux.org/task/68619

Simplify call to make in package().
ledoian
David Runge 3 years ago
parent 8d2b043f4f
commit 3cc3a872b4

@ -5,7 +5,7 @@
pkgname=ncurses pkgname=ncurses
pkgver=6.3 pkgver=6.3
pkgrel=1 pkgrel=2
pkgdesc='System V Release 4.0 curses emulation library' pkgdesc='System V Release 4.0 curses emulation library'
arch=(x86_64) arch=(x86_64)
url='https://invisible-island.net/ncurses/ncurses.html' url='https://invisible-island.net/ncurses/ncurses.html'
@ -15,6 +15,7 @@ makedepends=(autoconf-archive)
optdepends=('bash: for ncursesw6-config') optdepends=('bash: for ncursesw6-config')
provides=(libncurses++w.so libformw.so libmenuw.so libpanelw.so libncursesw.so) provides=(libncurses++w.so libformw.so libmenuw.so libpanelw.so libncursesw.so)
replaces=(alacritty-terminfo) replaces=(alacritty-terminfo)
options=(debug)
source=( source=(
"https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc} "https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc}
"${pkgname}-6.3-libs.patch" "${pkgname}-6.3-libs.patch"
@ -53,15 +54,13 @@ build() {
--with-pkg-config-libdir=/usr/lib/pkgconfig \ --with-pkg-config-libdir=/usr/lib/pkgconfig \
--with-shared \ --with-shared \
--with-versioned-syms \ --with-versioned-syms \
--without-ada \ --without-ada
--without-debug
make make
} }
package() { package() {
cd $pkgname-$pkgver make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
make DESTDIR="$pkgdir" install install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
# fool packages looking to link to non-wide-character ncurses libraries # fool packages looking to link to non-wide-character ncurses libraries
for lib in ncurses ncurses++ form panel menu; do for lib in ncurses ncurses++ form panel menu; do

Loading…
Cancel
Save