update lib32-libcups

This commit is contained in:
Weng Xuetian 2015-11-19 00:15:11 +01:00
parent 0930e1ad36
commit 56ef1fad8d

View File

@ -5,7 +5,7 @@
_pkgbasename=libcups
pkgname=lib32-$_pkgbasename
pkgver=2.0.3
pkgver=2.1.0
pkgrel=1
pkgdesc="The CUPS Printing System - client libraries (32-bit)"
arch=('x86_64')
@ -15,8 +15,9 @@ depends=(lib32-krb5 lib32-libtiff lib32-libpng lib32-gnutls $_pkgbasename=$pkgve
makedepends=(gcc-multilib)
source=(#ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2
http://www.cups.org/software/${pkgver}/cups-${pkgver}-source.tar.bz2{,.sig})
md5sums=('8d98b85edbdab7ab03739c9622f570e8'
md5sums=('c4e57a66298bfdba66bb3d5bedd317a4'
'SKIP')
validpgpkeys=(3737FD0D0E63B30172440D2DDBA3A7AB08D76223)
build() {
export CC="gcc -m32"
@ -28,24 +29,17 @@ build() {
aclocal -I config-scripts
autoconf -I config-scripts
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-raw-printing \
--disable-gssapi \
--disable-dbus \
--enable-threads \
--enable-libusb=no \
--with-optim="$CFLAGS" \
--disable-avahi \
--disable-dnssd \
--libdir=/usr/lib32
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-ldap --enable-raw-printing --disable-gssapi --disable-dbus \
--enable-ssl=yes --enable-threads --enable-libusb=no \
--disable-avahi --disable-dnssd \
--with-optim="$CFLAGS" --libdir=/usr/lib32
make libs
}
package() {
cd ${srcdir}/cups-${pkgver}
make BUILDROOT=${pkgdir} install-libs
rm -rf "${pkgdir}/usr/lib"
rm -rf "$pkgdir/usr/lib"
}