From ccd02aa8c759196ca0c22768002fe4426df9e464 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 2 Feb 2013 05:53:10 +0000 Subject: [PATCH] remove pkgdir usage in build function --- PKGBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 8436f7e..1e00c06 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -20,23 +20,21 @@ build() { cd ${srcdir}/ncursesw-build ../${pkgname}-${pkgver}/configure --prefix=/usr --mandir=/usr/share/man \ --with-shared --with-normal --without-debug --without-ada \ - --with-install-prefix=${pkgdir} --enable-widec \ - --enable-pc-files - # add --enable-ext-colors with next soname bump + --enable-widec --enable-pc-files + # add --enable-ext-colors and --enable-ext-mouse with next soname bump make # libncurses.so.5 for external binary support cd ${srcdir}/ncurses-build [ $CARCH = "x86_64" ] && CONFIGFLAG="--with-chtype=long" ../${pkgname}-${pkgver}/configure --prefix=/usr \ - --with-shared --with-normal --without-debug --without-ada \ - --with-install-prefix=${pkgdir} $CONFIGFLAG + --with-shared --with-normal --without-debug --without-ada $CONFIGFLAG make } package() { cd ${srcdir}/ncursesw-build - make install + make DESTDIR=${pkgdir} install # Fool packages looking to link to non-wide-character ncurses libraries for lib in ncurses form panel menu; do