remove pkgdir usage in build function

ledoian
Allan McRae 12 years ago
parent f4f2cc0ad6
commit ccd02aa8c7

@ -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

Loading…
Cancel
Save