summaryrefslogtreecommitdiffstats
path: root/abs/core/libxxf86dga/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libxxf86dga/PKGBUILD')
-rw-r--r--abs/core/libxxf86dga/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/core/libxxf86dga/PKGBUILD b/abs/core/libxxf86dga/PKGBUILD
index a71b8e2..182a2a8 100644
--- a/abs/core/libxxf86dga/PKGBUILD
+++ b/abs/core/libxxf86dga/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 55279 2009-10-12 16:27:32Z andyrtr $
+# $Id: PKGBUILD 97581 2010-10-31 16:05:58Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=libxxf86dga
-pkgver=1.1.1
+pkgver=1.1.2
pkgrel=1
pkgdesc="X11 Direct Graphics Access extension library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
-depends=('libxext>=1.1' 'xf86dgaproto>=2.1')
-makedepends=('pkgconfig')
+depends=('libxext' 'xf86dgaproto')
+makedepends=('xorg-util-macros')
options=('!libtool')
source=(${url}/releases/individual/lib/libXxf86dga-${pkgver}.tar.bz2)
-md5sums=('368837d3d7a4d3b4f70be48383e3544e')
+sha1sums=('333a9f5c61eba896f420969561606551174645cd')
build() {
cd "${srcdir}/libXxf86dga-${pkgver}"
- ./configure --prefix=/usr --disable-static || return 1
+ ./configure --prefix=/usr --disable-static
make || return 1
+}
+package() {
+ cd "${srcdir}/libXxf86dga-${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
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}