core/libxcb/PKGBUILD

47 lines
1.2 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
2016-09-25 00:08:47 +08:00
pkgver=1.12
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/"
2016-09-25 00:08:47 +08:00
depends=('xcb-proto>=1.12' 'libxdmcp' 'libxau')
2015-11-17 05:11:01 +08:00
makedepends=('libxslt' 'python3' '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
2016-09-25 00:08:47 +08:00
libxcb-1.1-no-pthread-stubs.patch
python-35x-fixes.patch)
sha256sums=('4adfb1b7c67e99bc9c2ccb110b2f175686576d2f792c8a71b9c8b19014057b5b'
'37debaf892235a516a50a4975e6229538d3b4696b4571a8dea05eed774004aff'
'e66140ac2270b47e940db82975e2d28d3536ca1bd0eae63bce3b900ed81fa517')
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
2016-09-25 00:08:47 +08:00
patch -Np1 -i ../python-35x-fixes.patch
2014-06-29 02:20:08 +08:00
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
2016-09-25 00:08:47 +08:00
make -j1
2012-01-13 03:48:10 +08:00
}
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
}