db-move: moved gnome-weather from [staging] to [testing] (any)
[arch-packages.git] / xcb-util-cursor / trunk / PKGBUILD
blob0bc8da01dd6b5cda9058247c3f715cb7e120401c
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Bastien Dejean <nihilhill@gmail.com>
4 pkgname=xcb-util-cursor
5 pkgver=0.1.4
6 pkgrel=1
7 pkgdesc='XCB cursor library'
8 arch=('x86_64')
9 url='https://cgit.freedesktop.org/xcb/util-cursor'
10 license=('custom:MIT')
11 depends=('libxcb' 'xcb-util-renderutil' 'xcb-util-image')
12 makedepends=('xorgproto')
13 #makedepends=('doxygen' 'xorg-util-macros' 'graphviz') # no docs yet to build
14 source=(https://xorg.freedesktop.org/archive/individual/lib/xcb-util-cursor-$pkgver.tar.xz{,.sig})
15 sha512sums=('d27dd59a4d7ded9994dca77774421dd9533e3ee823b880af35d3219bd7340c89fbc61d1d0fa10e2991de2cac9e6395e09497769d7b8728eedc691e76649107b1'
16             'SKIP')
17 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 build() {
20   cd $pkgname-$pkgver
21   ./configure --prefix=/usr
22   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
23   make
26 package() {
27   cd $pkgname-$pkgver
28   make DESTDIR="$pkgdir" install
29   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"