2011-01-15 18:08:29 +08:00
|
|
|
_pkgbasename=libgpg-error
|
|
|
|
pkgname=lib32-$_pkgbasename
|
2016-12-22 03:59:02 +08:00
|
|
|
pkgver=1.25
|
2011-07-21 23:19:38 +08:00
|
|
|
pkgrel=1
|
2011-01-15 18:08:29 +08:00
|
|
|
pkgdesc="Support library for libgcrypt (32-bit)"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="http://www.gnupg.org"
|
|
|
|
license=('LGPL')
|
2012-10-31 22:53:16 +08:00
|
|
|
depends=('lib32-glibc' $_pkgbasename=$pkgver)
|
2016-03-20 08:42:34 +08:00
|
|
|
makedepends=('gcc' 'lib32-gcc-libs')
|
|
|
|
source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${_pkgbasename}-${pkgver}.tar.bz2{,.sig})
|
2016-12-22 03:59:02 +08:00
|
|
|
sha1sums=('8ab7494e40f80f4138edc9516981bf4afe7d9dbf'
|
2016-03-20 08:42:34 +08:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6')
|
2011-01-15 18:08:29 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
export CC="gcc -m32"
|
|
|
|
export CXX="g++ -m32"
|
|
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
|
|
|
|
cd "${srcdir}"/${_pkgbasename}-${pkgver}
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2014-12-15 17:16:02 +08:00
|
|
|
check() {
|
|
|
|
cd "${srcdir}"/${_pkgbasename}-${pkgver}
|
|
|
|
make clean
|
|
|
|
}
|
|
|
|
|
2011-01-15 18:08:29 +08:00
|
|
|
package() {
|
|
|
|
cd "${srcdir}"/${_pkgbasename}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}/" install
|
|
|
|
|
|
|
|
rm -rf "${pkgdir}"/usr/{include,share,bin}
|
|
|
|
}
|