core/libxcb/PKGBUILD

44 lines
1.0 KiB
Bash
Raw Normal View History

2013-12-18 04:09:48 +08:00
# Part of the Xorg group
2012-09-25 22:51:48 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
2010-10-04 08:02:25 +08:00
2010-03-14 23:48:48 +08:00
pkgname=libxcb
pkgver=1.11
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="X11 client-side library"
arch=(x86_64)
2010-03-14 23:48:48 +08:00
url="http://xcb.freedesktop.org/"
depends=('xcb-proto>=1.11' 'libxdmcp' 'libxau')
makedepends=('libxslt' 'python' 'xorg-util-macros')
2010-03-14 23:48:48 +08:00
license=('custom')
2014-06-29 02:20:08 +08:00
source=($url/dist/$pkgname-$pkgver.tar.bz2
libxcb-1.1-no-pthread-stubs.patch)
sha256sums=('03635d70045b9ede90778e67516135828a57de87ac508f987024f43c03620ff7'
'3923bcb1930b851012968435909597d8d5251c72153511cb2982636c97100cc3')
2010-03-14 23:48:48 +08:00
2014-06-29 02:20:08 +08:00
prepare() {
cd "$pkgname-$pkgver"
patch -Np1 -i ../libxcb-1.1-no-pthread-stubs.patch
autoreconf -vfi
2013-12-18 04:09:48 +08:00
}
build() {
2014-06-29 02:20:08 +08:00
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--enable-xinput \
--enable-xkb \
--disable-static
2012-01-13 03:48:10 +08:00
make
}
2014-06-29 02:20:08 +08:00
check() {
cd $pkgname-$pkgver
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
2010-03-14 23:48:48 +08:00
}