archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxcb / repos / extra-x86_64 / PKGBUILD
blob879998e129b5e8d4d423488834b78738a5d40cf1
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Alexander Baldeck <alexander@archlinux.org>
5 pkgname=libxcb
6 pkgver=1.15
7 pkgrel=2
8 pkgdesc="X11 client-side library"
9 arch=('x86_64')
10 url="https://xcb.freedesktop.org/"
11 depends=('xcb-proto' 'libxdmcp' 'libxau')
12 makedepends=('libxslt' 'python' 'xorg-util-macros' 'xorgproto')
13 license=('custom')
14 options=('debug')
15 source=(https://xorg.freedesktop.org/archive/individual/lib/$pkgname-$pkgver.tar.xz{,.sig})
16 sha512sums=('f6c7d766b7cf9cab6abe948ee424cbae6951dbfe2f76fa58a109cdc05b0f0919dcc4e38176a22ff4b95fc1e38596115317e32ba33b24cae0035a4e30dbcbdad9'
17             'SKIP')
18 #validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels@collabora.com>"
19 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
21 build() {
22   cd "$pkgname-$pkgver"
23   ./configure --prefix=/usr \
24     --enable-xinput \
25     --enable-xkb \
26     --disable-static
27   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
28   make
31 check() {
32   cd $pkgname-$pkgver
33   make -k check
36 package() {
37   cd "$pkgname-$pkgver"
38   make DESTDIR="$pkgdir" install
39   install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
40   install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"