# Contributor: AndyRTR # Contributor: Jan de Groot # Contributor: Alexander Baldeck _pkgname=libxau pkgname=static-compat-$_pkgname pkgver=1.0.9 pkgrel=3 pkgdesc="X11 authorisation library" arch=('x86_64') url="https://xorg.freedesktop.org/" depends=('glibc-static-compat') makedepends=('static-compat-configure' 'static-compat-xorgproto') license=('custom') options=(!emptydirs staticlibs) source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2{,.sig}) validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith " sha512sums=('3ca454ba466a807ea28b0f715066d73dc76ad312697b121d43e4d5766215052e9b7ffb8fe3ed3e496fa3f2a13f164ac692ff85cc428e26731b679f0f06a1d562' 'SKIP') build() { source static-compat-environment cd libXau-${pkgver} static-compat-configure --disable-shared --enable-static --sysconfdir=/etc make } package() { source static-compat-environment cd libXau-${pkgver} make DESTDIR="${pkgdir}" install rm -r "$pkgdir/$static_compat_prefix"/share/man install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }