updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lib32-libxaw / PKGBUILD
blob1eca8cb94f274e1f006fca7bd19185fe57e64ead
1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
3 _pkgbasename=libxaw
4 pkgname=lib32-$_pkgbasename
5 pkgver=1.0.9
6 pkgrel=1
7 pkgdesc="X11 Athena Widget library (32 bit)"
8 arch=('x86_64')
9 license=('custom')
10 url="http://xorg.freedesktop.org/"
11 depends=('lib32-libxmu' 'lib32-libxpm' "$_pkgbasename>=$pkgver")
12 makedepends=('xorg-util-macros' 'gcc-multilib')
13 options=('!libtool')
14 source=(http://xorg.freedesktop.org/releases/individual/lib/libXaw-${pkgver}.tar.bz2)
15 sha1sums=('5f8fc1b10316f31d4c6fa1d938b2297ff5bd2da5')
17 build() {
18   cd "${srcdir}/libXaw-${pkgver}"
19   ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 --disable-static CC='gcc -m32'
20   make
23 package() {
24   cd "${srcdir}/libXaw-${pkgver}"
25   make DESTDIR="${pkgdir}" install
26   rm -rf ${pkgdir}/usr/{include,share}
27   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}