[arch-commits] Commit in xf86-video-mga/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Tue Aug 24 06:39:07 EDT 2010


    Date: Tuesday, August 24, 2010 @ 06:39:07
  Author: jgc
Revision: 88643

upgpkg: xf86-video-mga 1.4.13-1
Update to 1.4.13, build for xserver 1.9

Modified:
  xf86-video-mga/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-24 10:35:47 UTC (rev 88642)
+++ PKGBUILD	2010-08-24 10:39:07 UTC (rev 88643)
@@ -2,25 +2,26 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=xf86-video-mga
-pkgver=1.4.12
+pkgver=1.4.13
 pkgrel=1
 pkgdesc="X.org mga video driver"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
 license=('custom')
-depends=('glibc' 'mga-dri>=7.8')
-makedepends=('pkgconfig' 'xorg-server>=1.8.0' "mesa>=7.8" 'xf86driproto' 'glproto>=1.4.11')
-conflicts=('xorg-server<1.8.0')
+depends=('glibc' 'mga-dri')
+makedepends=('xorg-server-devel' 'libdrm' 'xf86driproto' 'mesa')
+conflicts=('xorg-server<1.9.0')
 options=('!libtool' 'force')
 groups=('xorg-video-drivers')
 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('ff84e9035a375dde76d789f5bbc4efbbca8a33fc')
+sha1sums=('55aa185cf381def4b5905c8b93694b8dfbd5c378')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr \
-      --enable-dri || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+  ./configure --prefix=/usr --enable-dri
+  make
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
 }



More information about the arch-commits mailing list