diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/libxrender/PKGBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/abs/core/libxrender/PKGBUILD b/abs/core/libxrender/PKGBUILD index 0e9f913..3c53091 100644 --- a/abs/core/libxrender/PKGBUILD +++ b/abs/core/libxrender/PKGBUILD @@ -1,22 +1,28 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 82164 2010-06-09 06:48:35Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + pkgname=libxrender -pkgver=0.9.4 +pkgver=0.9.6 pkgrel=1 pkgdesc="X Rendering Extension client library" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" -depends=('libx11' 'renderproto') +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 ${startdir}/src/libXrender-${pkgver} - ./configure --prefix=/usr \ - --build=${CHOST} --host=${CHOST} + cd "${srcdir}/libXrender-${pkgver}" + ./configure --prefix=/usr --disable-static || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } -md5sums=('dc266e850c51368f964e0d67bf5fb5e6') +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 +} + |