sbcl rebuild
[arch-packages.git] / libxcb / trunk / PKGBUILD
blob8a3af2aa844af85054ab79f3358728e7d4722c61
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=1
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 source=(https://xorg.freedesktop.org/archive/individual/lib/$pkgname-$pkgver.tar.xz{,.sig})
15 sha512sums=('f6c7d766b7cf9cab6abe948ee424cbae6951dbfe2f76fa58a109cdc05b0f0919dcc4e38176a22ff4b95fc1e38596115317e32ba33b24cae0035a4e30dbcbdad9'
16             'SKIP')
17 #validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels@collabora.com>"
18 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
20 build() {
21   cd "$pkgname-$pkgver"
22   ./configure --prefix=/usr \
23     --enable-xinput \
24     --enable-xkb \
25     --disable-static
26   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
27   make
30 check() {
31   cd $pkgname-$pkgver
32   make -k check
35 package() {
36   cd "$pkgname-$pkgver"
37   make DESTDIR="$pkgdir" install
38   install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
39   install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"