archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxpresent / repos / extra-x86_64 / PKGBUILD
blob1d939bc3411ad7bda6204bbb260d1aae4b8d9546
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributorr: Brad Fanella <cesura@archlinux.org>
3 # Contributor: Andrey Vihrov <andrey.vihrov at gmail.com>
5 pkgname=libxpresent
6 pkgver=1.0.1
7 pkgrel=1
8 pkgdesc="X Present Extension library"
9 arch=('x86_64')
10 url="https://gitlab.freedesktop.org/xorg/lib/libxpresent"
11 license=('custom')
12 depends=('libxfixes' 'libxrandr')
13 makedepends=('xorg-util-macros' 'xorgproto')
14 options=('debug')
15 source=(https://xorg.freedesktop.org/archive/individual/lib/libXpresent-${pkgver}.tar.xz{,.sig})
16 sha512sums=('a4551f49a68f4487eb70dc5b50b7f745fbc8b6842cfa60422afe3834af41c504a37bcfddb4e7e9ee084b250df256034290776c8eb7d8838e392eb626fff55d25'
17             'SKIP')
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith <alan.coopersmith@oracle.com>
20 build() {
21   cd libXpresent-${pkgver}
22   ./configure --prefix=/usr
23   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
24   make
27 package() {
28   cd libXpresent-${pkgver}
29   make DESTDIR="${pkgdir}" install
30   install -D -m 0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"