core/libxcb/PKGBUILD

50 lines
1.3 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
2014-06-29 02:20:08 +08:00
pkgver=1.10
pkgrel=2
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/"
2014-06-29 02:20:08 +08:00
depends=('xcb-proto>=1.10' 'libxdmcp' 'libxau')
2010-03-14 23:48:48 +08:00
makedepends=('pkgconfig' 'libxslt' 'python')
options=('!libtool')
license=('custom')
2014-06-29 02:20:08 +08:00
source=($url/dist/$pkgname-$pkgver.tar.bz2
libxcb-1.1-no-pthread-stubs.patch
Ensure-xcb-owns-socket-and-no-other-threads-are-writ.patch)
sha256sums=('98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5'
'748ed83af60468a0eb6785222e4a5ca589d28f20b9bfc60d5936ec93b8eef356'
'47de1025bb16446b9e69ff7b6b262a0a1af957d350afe897421b9105c89befeb')
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
# fix FS#40289 merged upstream
patch -Np1 -i ../Ensure-xcb-owns-socket-and-no-other-threads-are-writ.patch
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
}