Commit 5c9265b7 authored by Phil's avatar Phil
Browse files

remove kernel tagging

parent dd7976ab
......@@ -7,12 +7,10 @@
# Find the kernel name inside the chroot
_kernver=`pacman -Qf kernel26 | cut -c10-15 | sed 's/kernel26 //g'`-CHAKRA
_kernvers=`pacman -Qf kernel26 | cut -c10-15`
pkgname=catalyst
pkgver=${_kernvers}.11.6
_pkgver=11.6
pkgrel=1
pkgver=11.6
pkgrel=3
pkgdesc="AMD/ATI Catalyst drivers for kernel26. fglrx kernel module only"
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
......@@ -22,7 +20,7 @@ makedepends=('gcc-libs' 'gcc>4.0.0' 'make' 'kernel26-headers')
conflicts=('catalyst-test' 'nvidia' 'xf86-video-ati' 'xf86-video-radeonhd' 'ati-dri')
install=${pkgname}.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${_pkgver/./-}-x86.x86_64.run
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run
ati_make.sh
makefile_compat.patch
no_bkl.patch
......@@ -45,7 +43,7 @@ build() {
msg "Unpacking archive ..."
/bin/sh ./ati-driver-installer-${_pkgver/./-}-x86.x86_64.run --extract archive_files
/bin/sh ./ati-driver-installer-${pkgver/./-}-x86.x86_64.run --extract archive_files
if [ "${CARCH}" = "x86_64" ]; then
......
......@@ -5,12 +5,10 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
_kernver=`pacman -Qf kernel26 | cut -c10-15 | sed 's/kernel26 //g'`-CHAKRA
_kernvers=`pacman -Qf kernel26 | cut -c10-15`
pkgname=nvidia-173xx
pkgver=${_kernvers}.173.14.30
_pkgver=173.14.30
pkgrel=1
pkgver=173.14.30
pkgrel=2
# Find the kernel name inside the chroot
pkgdesc="NVIDIA drivers for kernel26, 173xx branch."
......@@ -23,21 +21,21 @@ makedepends=('kernel26-headers')
conflicts=('nvidia-96xx' 'nvidia' 'nvidia-173xx')
license=('custom')
install=nvidia.install
source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${_pkgver}/NVIDIA-Linux-$ARCH-${_pkgver}-pkg0.run")
source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run")
md5sums=('665f9f730c18ab24a997e0e14b863262')
[ "$CARCH" = "x86_64" ] && md5sums=('8c47463ae14a2f742d0fa00160456745')
build() {
cd $srcdir
sh NVIDIA-Linux-$ARCH-${_pkgver}-pkg0.run --extract-only
cd NVIDIA-Linux-$ARCH-${_pkgver}-pkg0
sh NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run --extract-only
cd NVIDIA-Linux-$ARCH-${pkgver}-pkg0
cd usr/src/nv/
ln -s Makefile.kbuild Makefile
make SYSSRC=/lib/modules/${_kernver}/build module || return 1
}
package() {
cd $srcdir/NVIDIA-Linux-$ARCH-${_pkgver}-pkg0/usr/src/nv/
cd $srcdir/NVIDIA-Linux-$ARCH-${pkgver}-pkg0/usr/src/nv/
mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
install -m644 nvidia.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
mkdir -p $pkgdir/etc/modprobe.d
......
......@@ -6,16 +6,14 @@
# Find the kernel name inside the chroot
_kernver=`pacman -Qf kernel26 | cut -c10-15 | sed 's/kernel26 //g'`-CHAKRA
_kernvers=`pacman -Qf kernel26 | cut -c10-15`
pkgname=nvidia
pkgver=${_kernvers}.275.09.07
_pkgver=275.09.07
pkgrel=1
pkgver=275.09.07
pkgrel=2
pkgdesc="NVIDIA drivers for kernel26."
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
depends=('kernel26>=2.6.39' 'kernel26<2.6.40' "nvidia-utils=${_pkgver}")
depends=('kernel26>=2.6.39' 'kernel26<2.6.40' "nvidia-utils=${pkgver}")
makedepends=('kernel26-headers')
conflicts=('nvidia-96xx' 'nvidia-173xx')
license=('custom')
......@@ -23,13 +21,13 @@ install=nvidia.install
if [ "$CARCH" = "i686" ]; then
ARCH='x86'
_pkg="NVIDIA-Linux-${ARCH}-${_pkgver}"
source=("ftp://download.nvidia.com/XFree86/Linux-${ARCH}/${_pkgver}/${_pkg}.run")
_pkg="NVIDIA-Linux-${ARCH}-${pkgver}"
source=("ftp://download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/${_pkg}.run")
md5sums=('d779057af3a2f96a05ddda201606618b')
elif [ "$CARCH" = "x86_64" ]; then
ARCH='x86_64'
_pkg="NVIDIA-Linux-${ARCH}-${_pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-${ARCH}/${_pkgver}/${_pkg}.run")
_pkg="NVIDIA-Linux-${ARCH}-${pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/${_pkg}.run")
md5sums=('f75df248f7bf32199ed88db2f080cbfa')
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment