2020-11-12 17:13:16 +01:00
|
|
|
# Contributor: AndyRTR <andyrtr@archlinux.org>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
|
|
|
|
|
|
|
_pkgname=libxau
|
2022-03-07 10:50:48 +01:00
|
|
|
pkgname=static-compat-$_pkgname
|
2020-11-12 17:13:16 +01:00
|
|
|
pkgver=1.0.9
|
|
|
|
pkgrel=3
|
|
|
|
pkgdesc="X11 authorisation library"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://xorg.freedesktop.org/"
|
2022-03-07 10:50:48 +01:00
|
|
|
depends=('glibc-static-compat')
|
|
|
|
makedepends=('static-compat-configure' 'static-compat-xorgproto')
|
2020-11-12 17:13:16 +01:00
|
|
|
license=('custom')
|
|
|
|
options=(!emptydirs staticlibs)
|
|
|
|
source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2{,.sig})
|
|
|
|
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
|
|
|
|
sha512sums=('3ca454ba466a807ea28b0f715066d73dc76ad312697b121d43e4d5766215052e9b7ffb8fe3ed3e496fa3f2a13f164ac692ff85cc428e26731b679f0f06a1d562'
|
|
|
|
'SKIP')
|
|
|
|
|
|
|
|
build() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd libXau-${pkgver}
|
2022-03-07 10:50:48 +01:00
|
|
|
static-compat-configure --disable-shared --enable-static --sysconfdir=/etc
|
2020-11-12 17:13:16 +01:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd libXau-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2022-03-07 10:50:48 +01:00
|
|
|
rm -r "$pkgdir/$static_compat_prefix"/share/man
|
2020-11-12 17:13:16 +01:00
|
|
|
|
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
}
|