diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/libxres/PKGBUILD | 28 |
1 files 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 <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 97782 2010-11-01 22:08:57Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + 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}/" +} |