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