Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=76789a931d724fe05cb19e1278a58d42f79c4b98

commit 76789a931d724fe05cb19e1278a58d42f79c4b98
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Mon Dec 21 17:31:04 2009 +0100

fglrx-9.12-1-i686

- version bump
- use the new versioning scheme, the internal one is not used and it's a
pain to maintain

diff --git a/source/x11-extra/fglrx/FrugalBuild 
b/source/x11-extra/fglrx/FrugalBuild
index 4acce93..cb7d037 100644
--- a/source/x11-extra/fglrx/FrugalBuild
+++ b/source/x11-extra/fglrx/FrugalBuild
@@ -3,9 +3,8 @@
# Maintainer: voroskoi <voros...@frugalware.org>

pkgname=fglrx
-pkgver=8.671
-_shortver=9-11
-pkgrel=3
+pkgver=9.12
+pkgrel=1
pkgdesc="Hardware Accelerated ATi driver for xorg"
url="http://www.ati.com/";
# libstdc++5: no hardware acceleration without it
@@ -26,12 +25,12 @@ provides=('libdri' 'libgl')
groups=('x11-extra')
archs=('i686' 'x86_64')
install=$pkgname.install
-up2date=$pkgver
-source=(https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-${_shortver}-x86.x86_64.run
 \
+up2date="lynx -dump http://www2.ati.com/rss/catalyst.rss|grep released|sed 
's/.* \([^ ]\+\) released.*/\1/;q'"
+source=(https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run
 \
README.Frugalware libGL.la license.diff \
fglrx-missing-pci_enable_msi.patch kernel-2.6.32.patch)
options=(${optio...@]} 'nodocs')
-sha1sums=('e987c1540f7d0141cfe9145442367d1e88314cc4' \
+sha1sums=('c213b1ccd4130fbbb7e0ef828c32214e55fc15ba' \
'b64a2303c77f84f5e5db13c9c8fd55f43fa9699b' \
'650973d708466f5c4c21e70c1f1f6c118b27e614' \
'bfbcbc939ca2d0cbe20eb306ed59ef49c2bea06a' \
@@ -41,8 +40,8 @@ sha1sums=('e987c1540f7d0141cfe9145442367d1e88314cc4' \
Xversion=x740

build() {
-       chmod a+x ati-driver-installer-${_shortver}-x86.x86_64.run || Fdie
-       ./ati-driver-installer-${_shortver}-x86.x86_64.run --extract ATi || Fdie
+       chmod a+x ati-driver-installer-${pkgver/./-}-x86.x86_64.run || Fdie
+       ./ati-driver-installer-${pkgver/./-}-x86.x86_64.run --extract ATi || 
Fdie
if [ "$CARCH" == "i686" ]; then
cp -r $Fsrcdir/ATi/arch/x86/* $Fsrcdir/ || Fdie
cp -r $Fsrcdir/ATi/${Xversion}/* $Fsrcdir/ || Fdie
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to