mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 09:22:17 +08:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
|
|
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
_pkgbasename=dbus-glib
|
|
|
|
pkgname=lib32-${_pkgbasename}
|
|
pkgver=0.100
|
|
pkgrel=1
|
|
pkgdesc="GLib bindings for DBUS (32-bit)"
|
|
arch=(x86_64)
|
|
license=('GPL')
|
|
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
|
|
depends=('lib32-dbus-core' 'lib32-glib2' ${_pkgbasename})
|
|
makedepends=('gcc-multilib' 'lib32-libffi' 'pkgconfig')
|
|
options=(!libtool !emptydirs)
|
|
source=(http://dbus.freedesktop.org/releases/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
|
|
md5sums=('d33959a9c0c6a158f5ac6d640316e89e')
|
|
|
|
build() {
|
|
export CC="gcc -m32"
|
|
export CXX="g++ -m32"
|
|
|
|
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--libdir=/usr/lib32 \
|
|
--enable-static=no \
|
|
--enable-bash-completion=no
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
rm -rf "${pkgdir}"/usr/{bin,include,share}
|
|
}
|