37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
# Contributor: AndyRTR <andyrtr@archlinux.org>
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
|
|
|
_pkgname=libxau
|
|
pkgname=static-compat-$_pkgname
|
|
pkgver=1.0.11
|
|
pkgrel=1
|
|
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.xz{,.sig})
|
|
#validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
|
|
validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
|
|
sha512sums=('f56abba3bef3fdd4739dfa69367a4251b5fab7c89194c9aece9efa66b9ebbf0736690cc9bd654aab19d9db377e4b9a5268c9c020b3d293bb5351bff5fe75a4dd'
|
|
'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"
|
|
}
|