summaryrefslogtreecommitdiff
path: root/extra/libxdamage/PKGBUILD
blob: 231b4ce2de02cc96bbd4aa946a7ef9d93fe8b027 (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
# $Id: PKGBUILD 82169 2010-06-09 06:52:23Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxdamage
pkgver=1.1.3
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')
options=('!libtool')
source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.bz2)
sha1sums=('7d96e8de107fede16951cb47d5e147630fbc7dee')

build() {
  cd "${srcdir}/libXdamage-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}