db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / xcb-util-cursor / repos / extra-x86_64 / PKGBUILD
blob4474ad72bf5503b7572826f7a34c62a17515ee58
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 options=('debug')
15 source=(https://xorg.freedesktop.org/archive/individual/lib/xcb-util-cursor-$pkgver.tar.xz{,.sig})
16 sha512sums=('d27dd59a4d7ded9994dca77774421dd9533e3ee823b880af35d3219bd7340c89fbc61d1d0fa10e2991de2cac9e6395e09497769d7b8728eedc691e76649107b1'
17             'SKIP')
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
20 build() {
21   cd $pkgname-$pkgver
22   ./configure --prefix=/usr
23   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
24   make
27 package() {
28   cd $pkgname-$pkgver
29   make DESTDIR="$pkgdir" install
30   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"