lib32/lib32-libxmu/PKGBUILD
Chaoting Liu 6a5fe00f64 merge
2015-02-25 18:42:21 +00:00

51 lines
1.2 KiB
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=libxmu
pkgname=lib32-$_pkgbasename
<<<<<<< HEAD
pkgver=1.1.0
pkgrel=2
=======
pkgver=1.1.2
pkgrel=1
>>>>>>> 600514ebcaaf80d91da28d7572f7905dbeed7b0a
pkgdesc="X11 miscellaneous micro-utility library (32-bit)"
arch=('x86_64')
url="http://xorg.freedesktop.org/"
depends=('lib32-libxext' 'lib32-libxt' $_pkgbasename=$pkgver)
makedepends=('xorg-util-macros' 'gcc-multilib')
license=('custom')
options=('!libtool')
source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2)
<<<<<<< HEAD
sha1sums=('81876a0848070bfc4476a2538fc16898eb6d96cd')
=======
sha1sums=('7e6aeef726743d21aa272c424e7d7996e92599eb')
>>>>>>> 600514ebcaaf80d91da28d7572f7905dbeed7b0a
build() {
cd "${srcdir}/libXmu-${pkgver}"
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/libXmu-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share}
mkdir -p "$pkgdir/usr/share/licenses"
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
}