summaryrefslogtreecommitdiff
path: root/extra/libxdamage/PKGBUILD
blob: 7fab57a246ec056d2523566fb0ab339e254c4744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 198274 2013-10-30 13:52:16Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxdamage
pkgver=1.1.4
pkgrel=1
pkgdesc="X11 damaged region extension library"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes>=4.0.4' 'damageproto>=1.2.0')
makedepends=('pkg-config')
source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.bz2)
sha256sums=('7c3fe7c657e83547f4822bfde30a90d84524efb56365448768409b77f05355ad')

build() {
  cd "${srcdir}/libXdamage-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
  make
}

package() {
  cd "${srcdir}/libXdamage-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}