archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxdamage / repos / extra-x86_64 / PKGBUILD
blobf2fb79addb87cd89021e72a9cbaa05d4281bd3fd
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=libxdamage
4 pkgver=1.1.5
5 pkgrel=4
6 pkgdesc="X11 damaged region extension library"
7 arch=('x86_64')
8 url="https://xorg.freedesktop.org/"
9 license=('custom')
10 depends=('libxfixes')
11 makedepends=('xorgproto')
12 source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.bz2{,.sig})
13 sha512sums=('a3ca6cc33b1727f717a3e2aa5593f660508a81a47918a0aa949e9e8fba105e303fe5071983b48caac92feea0fe6e8e01620805e4d19b41f21f20d837b191c124'
14             'SKIP')
15 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
17 build() {
18   cd libXdamage-${pkgver}
19   ./configure --prefix=/usr --sysconfdir=/etc --disable-static
20   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
21   make
24 package() {
25   cd libXdamage-${pkgver}
26   make DESTDIR="${pkgdir}" install
27   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"