archrelease: copy trunk to staging-x86_64
[arch-packages.git] / libxdamage / trunk / PKGBUILD
blob3c6f8b6a2b7dd631234a36d5dbc346912fd33689
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxdamage
5 pkgver=1.1.6
6 pkgrel=1
7 pkgdesc="X11 damaged region extension library"
8 arch=('x86_64')
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('libxfixes')
12 makedepends=('xorgproto')
13 source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.xz{,.sig})
14 sha512sums=('624dcefa1c79064569df952892f7f1351dc19ad338ce73d1a57041e406cb3e18abe531bab352b93d1f0f5c9b5c6b2652cc84a8f1fbfcbba648343812695a8acb'
15             'SKIP')
16 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
18 build() {
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
22   make
25 package() {
26   cd libXdamage-${pkgver}
27   make DESTDIR="${pkgdir}" install
28   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"