From 6ca798aae1fc150daf40f74d7bf97d38cbf774bd Mon Sep 17 00:00:00 2001 From: Neophytos Date: Tue, 11 Sep 2012 15:29:24 +0000 Subject: [PATCH] catalyst-utils update --- lib32-catalyst-utils/PKGBUILD | 47 ++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/lib32-catalyst-utils/PKGBUILD b/lib32-catalyst-utils/PKGBUILD index b3e622f..4cb2e0d 100644 --- a/lib32-catalyst-utils/PKGBUILD +++ b/lib32-catalyst-utils/PKGBUILD @@ -7,6 +7,7 @@ _pkgsourcename=catalyst-utils pkgname=lib32-$_pkgsourcename pkgver=12.8 pkgrel=1 +_amdver=8.982 pkgdesc="AMD/ATI catalyst driver utilities and libraries. (32-bit)" url="http://www.ati.amd.com" arch=(x86_64) @@ -15,46 +16,46 @@ depends=('lib32-libxext' 'lib32-libdrm' "catalyst-utils>=${pkgver}") conflicts=('lib32-libgl' 'lib32-nvidia-utils' 'lib32-ati-dri') replaces=('lib32-ati-fglrx-utils' 'lib32-fglrx-utils') provides=('lib32-libgl') -source=(http://www2.ati.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.run +source=(http://www2.ati.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.zip lib32-catalyst.sh) -md5sums=('' +md5sums=('41c5478322b13be6909eeb46412a3aa0' 'af7fb8ee4fc96fd54c5b483e33dc71c4') build() { # Extract Catalyst driver installer - /bin/sh ./amd-driver-installer-${pkgver/./-}-x86.x86_64.run --extract archive_files + /bin/sh ./amd-driver-installer-${_amdver}-x86.x86_64.run --extract archive_files } package() { cd ${srcdir} - install -D -m755 lib32-catalyst.sh ${pkgdir}/etc/profile.d/lib32-catalyst.sh || return 1 + install -D -m755 lib32-catalyst.sh ${pkgdir}/etc/profile.d/lib32-catalyst.sh # Install lib32 libraries - cd "${srcdir}/archive_files/arch/x86/usr" || return 1 - install -dm755 "${pkgdir}/usr/lib32" || return 1 - install -dm755 "${pkgdir}/usr/lib32/fglrx" || return 1 # since 11.4 - install -dm755 "${pkgdir}/usr/lib32/xorg/modules/dri" || return 1 - install -m755 lib/*.so* "${pkgdir}/usr/lib32/" || return 1 + cd "${srcdir}/archive_files/arch/x86/usr" + install -dm755 "${pkgdir}/usr/lib32" + install -dm755 "${pkgdir}/usr/lib32/fglrx" # since 11.4 + install -dm755 "${pkgdir}/usr/lib32/xorg/modules/dri" + install -m755 lib/*.so* "${pkgdir}/usr/lib32/" - install -m755 X11R6/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/fglrx" || return 1 # since 11.5 + install -m755 X11R6/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/fglrx" # since 11.5 ln -sf /usr/lib32/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/fglrx/libGL.so.1.2" # since 11.4 ln -sf /usr/lib32/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/fglrx-libGL.so.1.2" # since 11.4 ln -sf /usr/lib32/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/libGL.so.1.2" # since 11.4 ln -sf /usr/lib32/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/libGL.so.1" # since 11.4 ln -sf /usr/lib32/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib32/libGL.so" # since 11.4 - install -m755 X11R6/lib/libAMDXvBA.so.1.0 "${pkgdir}/usr/lib32/" || return 1 # since 11.4 - install -m755 X11R6/lib/libatiadlxx.so "${pkgdir}/usr/lib32/" || return 1 # since 11.4 - install -m755 X11R6/lib/libfglrx_dm.so.1.0 "${pkgdir}/usr/lib32/" || return 1 # since 11.4 - install -m755 X11R6/lib/libXvBAW.so.1.0 "${pkgdir}/usr/lib32/" || return 1 # since 11.4 + install -m755 X11R6/lib/libAMDXvBA.so.1.0 "${pkgdir}/usr/lib32/" # since 11.4 + install -m755 X11R6/lib/libatiadlxx.so "${pkgdir}/usr/lib32/" # since 11.4 + install -m755 X11R6/lib/libfglrx_dm.so.1.0 "${pkgdir}/usr/lib32/" # since 11.4 + install -m755 X11R6/lib/libXvBAW.so.1.0 "${pkgdir}/usr/lib32/" # since 11.4 - install -m755 X11R6/lib/modules/dri/*.so "${pkgdir}/usr/lib32/xorg/modules/dri/" || return 1 + install -m755 X11R6/lib/modules/dri/*.so "${pkgdir}/usr/lib32/xorg/modules/dri/" - cd "$pkgdir/usr/lib32/" || return 1 - ln -sf libfglrx_dm.so.1.0 libfglrx_dm.so.1 || return 1 - ln -sf libAMDXvBA.so.1.0 libAMDXvBA.so.1 || return 1 - ln -sf libXvBAW.so.1.0 libXvBAW.so.1 || return 1 - ln -sf libatiuki.so.1.0 libatiuki.so.1 || return 1 - ln -sf libatiuki.so.1.0 libatiuki.so || return 1 - install -dm755 "${pkgdir}/usr/lib32/dri" || return 1 - ln -sf xorg/modules/dri/fglrx_dri.so dri/fglrx_dri.so || return 1 + cd "$pkgdir/usr/lib32/" + ln -sf libfglrx_dm.so.1.0 libfglrx_dm.so.1 + ln -sf libAMDXvBA.so.1.0 libAMDXvBA.so.1 + ln -sf libXvBAW.so.1.0 libXvBAW.so.1 + ln -sf libatiuki.so.1.0 libatiuki.so.1 + ln -sf libatiuki.so.1.0 libatiuki.so + install -dm755 "${pkgdir}/usr/lib32/dri" + ln -sf xorg/modules/dri/fglrx_dri.so dri/fglrx_dri.so }