1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributorr: Brad Fanella <cesura@archlinux.org>
3 # Contributor: Andrey Vihrov <andrey.vihrov at gmail.com>
8 pkgdesc="X Present Extension library"
10 url="https://gitlab.freedesktop.org/xorg/lib/libxpresent"
12 depends=('libxfixes' 'libxrandr')
13 makedepends=('xorg-util-macros' 'xorgproto')
14 source=(https://xorg.freedesktop.org/archive/individual/lib/libXpresent-${pkgver}.tar.xz{,.sig})
15 sha512sums=('a4551f49a68f4487eb70dc5b50b7f745fbc8b6842cfa60422afe3834af41c504a37bcfddb4e7e9ee084b250df256034290776c8eb7d8838e392eb626fff55d25'
17 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith <alan.coopersmith@oracle.com>
20 cd libXpresent-${pkgver}
21 ./configure --prefix=/usr
22 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
27 cd libXpresent-${pkgver}
28 make DESTDIR="${pkgdir}" install
29 install -D -m 0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"