lib32/lib32-atk/PKGBUILD
2015-02-16 14:39:27 +00:00

35 lines
926 B
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
_pkgbasename=atk
pkgname=lib32-$_pkgbasename
pkgver=2.15.4
pkgrel=1
pkgdesc="A library providing a set of interfaces for accessibility (32-bit)"
arch=('x86_64')
license=('LGPL')
depends=('lib32-glib2' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib')
source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/${pkgver%.*}/${_pkgbasename}-${pkgver}.tar.xz)
url='http://www.gtk.org/'
sha256sums=('0dddfa73a02178ca21a8de172c86d699aa887b4efeec736b4c8721eee4ac349c')
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 \
--disable-introspection
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share}
}