1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="X11 damaged region extension library"
9 url="https://xorg.freedesktop.org/"
12 makedepends=('xorgproto')
13 source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.xz{,.sig})
14 sha512sums=('624dcefa1c79064569df952892f7f1351dc19ad338ce73d1a57041e406cb3e18abe531bab352b93d1f0f5c9b5c6b2652cc84a8f1fbfcbba648343812695a8acb'
16 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
19 cd libXdamage-${pkgver}
20 ./configure --prefix=/usr --sysconfdir=/etc --disable-static
21 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
26 cd libXdamage-${pkgver}
27 make DESTDIR="${pkgdir}" install
28 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"