mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-26 15:02:13 +08:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: AlmAck <almack@chakra-project.org>
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
_pkgbasename=at-spi2-core
|
|
pkgname=lib32-$_pkgbasename
|
|
pkgver=2.11.5
|
|
pkgrel=1
|
|
pkgdesc="Protocol definitions and daemon for D-Bus at-spi (32-bit)"
|
|
arch=(x86_64)
|
|
url="http://www.gnome.org"
|
|
license=(GPL2)
|
|
depends=('lib32-dbus-core' 'lib32-glib2' 'lib32-libxtst' $_pkgbasename=$pkgver)
|
|
makedepends=('gcc-multilib' 'intltool') # 'gobject-introspection'
|
|
source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz)
|
|
md5sums=('d61793f50af00cd5d9262c2d12d40ac6')
|
|
|
|
build() {
|
|
export CC='gcc -m32'
|
|
export CXX='g++ -m32'
|
|
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
|
|
|
|
cd $_pkgbasename-$pkgver
|
|
|
|
sed -i -e '/AC_PATH_XTRA/d' configure.ac
|
|
autoreconf --force --install
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--libdir=/usr/lib32 --libexecdir=/usr/lib32/at-spi2-core \
|
|
--enable-introspection=no \
|
|
--disable-xevie
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $_pkgbasename-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# cleanup for lib32 package
|
|
rm -rf "${pkgdir}"/{etc,bin,sbin,usr/{bin,lib,include,share},var}
|
|
}
|