OCaml 5.0.0 rebuild: Fix Pervasives deprecation
[arch-packages.git] / libxpresent / trunk / PKGBUILD
blobd948157725c2d33e0eca555c6f7e5d3d5e34e8f0
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 source=(https://xorg.freedesktop.org/archive/individual/lib/libXpresent-${pkgver}.tar.xz{,.sig})
15 sha512sums=('a4551f49a68f4487eb70dc5b50b7f745fbc8b6842cfa60422afe3834af41c504a37bcfddb4e7e9ee084b250df256034290776c8eb7d8838e392eb626fff55d25'
16             'SKIP')
17 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith <alan.coopersmith@oracle.com>
19 build() {
20   cd libXpresent-${pkgver}
21   ./configure --prefix=/usr
22   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
23   make
26 package() {
27   cd libXpresent-${pkgver}
28   make DESTDIR="${pkgdir}" install
29   install -D -m 0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"