summaryrefslogtreecommitdiffstats
path: root/abs/core/libxres/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:33:56 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:33:56 (GMT)
commitd1e0eb35df9b319057c39e9d05fb7e8e1d0799ce (patch)
tree8686166ab57aeb793a91753895ae113d371d061e /abs/core/libxres/PKGBUILD
parente564faafd24cea60ff97799ab8322cbc407da33c (diff)
downloadlinhes_pkgbuild-d1e0eb35df9b319057c39e9d05fb7e8e1d0799ce.zip
linhes_pkgbuild-d1e0eb35df9b319057c39e9d05fb7e8e1d0799ce.tar.gz
linhes_pkgbuild-d1e0eb35df9b319057c39e9d05fb7e8e1d0799ce.tar.bz2
libxres: upgrade
Diffstat (limited to 'abs/core/libxres/PKGBUILD')
-rw-r--r--abs/core/libxres/PKGBUILD28
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}/"
+}