summaryrefslogtreecommitdiffstats
path: root/abs/core/libxrender/PKGBUILD
blob: 3c53091c88cbc40e54a81ce9ad61360fe8a77190 (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
27
28
# $Id: PKGBUILD 82164 2010-06-09 06:48:35Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxrender
pkgver=0.9.6
pkgrel=1
pkgdesc="X Rendering Extension client library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11>=1.3.4' 'renderproto')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXrender-${pkgver}.tar.bz2)
sha1sums=('65bd96dc17da6b064f95109da02d9c9d14cb06dc')

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