[arch-commits] Commit in ncurses/trunk (PKGBUILD)

Allan McRae allan at nymeria.archlinux.org
Sat Feb 2 05:53:10 UTC 2013


    Date: Saturday, February 2, 2013 @ 06:53:10
  Author: allan
Revision: 176890

remove pkgdir usage in build function

Modified:
  ncurses/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-02 04:33:21 UTC (rev 176889)
+++ PKGBUILD	2013-02-02 05:53:10 UTC (rev 176890)
@@ -21,23 +21,21 @@
   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




More information about the arch-commits mailing list