1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Bastien Dejean <nihilhill@gmail.com>
4 pkgname=xcb-util-cursor
7 pkgdesc='XCB cursor library'
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
15 source=(https://xorg.freedesktop.org/archive/individual/lib/xcb-util-cursor-$pkgver.tar.xz{,.sig})
16 sha512sums=('d27dd59a4d7ded9994dca77774421dd9533e3ee823b880af35d3219bd7340c89fbc61d1d0fa10e2991de2cac9e6395e09497769d7b8728eedc691e76649107b1'
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
22 ./configure --prefix=/usr
23 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
29 make DESTDIR="$pkgdir" install
30 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"