1 # Maintainer: Alexander Baldeck <alexander@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
5 pkgname=lib32-$_pkgbasename
8 pkgdesc="X11 authorisation library (32-bit)"
10 url="https://xorg.freedesktop.org/"
12 depends=('lib32-glibc' $_pkgbasename)
13 makedepends=('pkgconf' 'xorgproto')
14 provides=('libXau.so')
16 source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.xz)
17 sha1sums=('0cf6d853fce4dc72d61c253d096408a313f1163b')
18 sha256sums=('f3fa3282f5570c3f6bd620244438dbfbdd580fc80f02f549587a0f8ab329bbeb')
21 cd "${srcdir}/libXau-${pkgver}"
24 export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
26 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32
31 cd "${srcdir}/libXau-${pkgver}"
33 make DESTDIR="${pkgdir}" install
35 rm -rf "${pkgdir}"/usr/{include,share}
37 mkdir -p "$pkgdir/usr/share/licenses"
38 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"