some adjustments

This commit is contained in:
Giuseppe 2011-03-24 12:22:46 +00:00
parent 309016daf6
commit c89f04f524

View File

@ -7,13 +7,13 @@ _pkgbasename=dbus-glib
pkgname=lib32-${_pkgbasename}
pkgver=0.92
pkgrel=1
pkgrel=2
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')
makedepends=('gcc-multilib' 'pkgconfig')
options=(!libtool !emptydirs)
source=(http://dbus.freedesktop.org/releases/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('b595b36890c4f9f8f5d5dec131c495f8')
@ -21,7 +21,6 @@ md5sums=('b595b36890c4f9f8f5d5dec131c495f8')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/${_pkgbasename}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 \
@ -31,12 +30,8 @@ build() {
}
package() {
cd "${srcdir}/dbus-glib-${pkgver}"
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
rm -rf "${pkgdir}"/{etc,var}
mkdir -p "${pkgdir}/usr/share/licenses"
ln -s ${_pkgbasename} "${pkgdir}/usr/share/licenses/${pkgname}"
rm -rf "${pkgdir}"/usr/{bin,include,share}
}