From d1e0eb35df9b319057c39e9d05fb7e8e1d0799ce Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 30 Nov 2010 23:33:56 +0000 Subject: libxres: upgrade --- abs/core/libxres/PKGBUILD | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/abs/core/libxres/PKGBUILD b/abs/core/libxres/PKGBUILD index 56dbf49..016f446 100644 --- a/abs/core/libxres/PKGBUILD +++ b/abs/core/libxres/PKGBUILD @@ -1,22 +1,28 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Alexander Baldeck -# Contributor: Jan de Groot +# $Id: PKGBUILD 97782 2010-11-01 22:08:57Z jgc $ +# Maintainer: Jan de Groot + pkgname=libxres -pkgver=1.0.3 +pkgver=1.0.5 pkgrel=1 pkgdesc="X11 Resource extension library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://xorg.freedesktop.org" +license=('custom') depends=('libxext') -makedepends=('pkgconfig' 'resourceproto' 'damageproto' 'compositeproto' 'scrnsaverproto') +makedepends=('resourceproto' 'damageproto' 'compositeproto' 'scrnsaverproto' 'xorg-util-macros') options=(!libtool) source=(${url}/releases/individual/lib/libXres-${pkgver}.tar.bz2) +sha1sums=('d3a36f9b6ae430da91f2cbae409916f605074195') build() { - cd ${startdir}/src/libXres-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc \ - --build=${CHOST} --host=${CHOST} + cd "${srcdir}/libXres-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } -md5sums=('de66ffb657aba64c9d6dbdeabb757f3e') +package() { + cd "${srcdir}/libXres-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} -- cgit v0.12