summaryrefslogtreecommitdiff
path: root/extra/libxxf86dga/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libxxf86dga/PKGBUILD')
-rw-r--r--extra/libxxf86dga/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/libxxf86dga/PKGBUILD b/extra/libxxf86dga/PKGBUILD
index c66ee69e5..ad6ad264b 100644
--- a/extra/libxxf86dga/PKGBUILD
+++ b/extra/libxxf86dga/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 97581 2010-10-31 16:05:58Z jgc $
+# $Id: PKGBUILD 151312 2012-02-25 13:26:08Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=libxxf86dga
pkgver=1.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Direct Graphics Access extension library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'xf86dgaproto')
@@ -19,8 +19,11 @@ build() {
cd "${srcdir}/libXxf86dga-${pkgver}"
./configure --prefix=/usr --disable-static
make
+}
+
+package() {
+ cd "${srcdir}/libXxf86dga-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}