2020-11-12 17:13:16 +01:00
|
|
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
|
|
|
|
|
|
|
_pkgname=libxcb
|
2022-03-07 10:50:48 +01:00
|
|
|
pkgname=static-compat-$_pkgname
|
2022-06-25 12:22:19 +02:00
|
|
|
pkgver=1.15
|
2020-11-12 17:13:16 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="X11 client-side library"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://xcb.freedesktop.org/"
|
2022-03-07 10:50:48 +01:00
|
|
|
depends=('static-compat-xcb-proto' 'static-compat-libxdmcp' 'static-compat-libxau')
|
|
|
|
makedepends=('libxslt' 'python' 'xorg-util-macros' 'static-compat-xorgproto' 'static-compat-configure')
|
2020-11-12 17:13:16 +01:00
|
|
|
license=('custom')
|
|
|
|
options=(!emptydirs staticlibs)
|
|
|
|
source=(https://xorg.freedesktop.org/archive/individual/lib/$_pkgname-$pkgver.tar.xz{,.sig})
|
2022-06-25 12:22:19 +02:00
|
|
|
sha512sums=('f6c7d766b7cf9cab6abe948ee424cbae6951dbfe2f76fa58a109cdc05b0f0919dcc4e38176a22ff4b95fc1e38596115317e32ba33b24cae0035a4e30dbcbdad9'
|
2020-11-12 17:13:16 +01:00
|
|
|
'SKIP')
|
2022-06-25 12:22:19 +02:00
|
|
|
#validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels@collabora.com>"
|
|
|
|
validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
|
2020-11-12 17:13:16 +01:00
|
|
|
|
|
|
|
build() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd "$_pkgname-$pkgver"
|
2022-03-07 10:50:48 +01:00
|
|
|
static-compat-configure \
|
2020-11-12 17:13:16 +01:00
|
|
|
--enable-xinput \
|
|
|
|
--enable-xkb \
|
|
|
|
--disable-shared \
|
|
|
|
--enable-static
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd $_pkgname-$pkgver
|
|
|
|
make -k check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-03-07 10:50:48 +01:00
|
|
|
source static-compat-environment
|
2020-11-12 17:13:16 +01:00
|
|
|
cd "$_pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
2022-03-07 10:50:48 +01:00
|
|
|
rm -r "${pkgdir}/$static_compat_prefix"/share/{doc,man}
|
2020-11-12 17:13:16 +01:00
|
|
|
install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
|
|
|
|
install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
|
|
|
|
}
|