diff --git a/srcpkgs/bbswitch/template b/srcpkgs/bbswitch/template index a8a42c30056..b603e1ec605 100644 --- a/srcpkgs/bbswitch/template +++ b/srcpkgs/bbswitch/template @@ -1,7 +1,7 @@ # Template file for 'bbswitch' pkgname=bbswitch version=0.8 -revision=1 +revision=2 hostmakedepends="git" makedepends="dkms" depends="dkms" @@ -12,11 +12,8 @@ maintainer="Juan RP " license="GPL-2" homepage="http://github.com/Bumblebee-Project/bbswitch" only_for_archs="i686 x86_64" - -do_fetch() { - git clone -b v${version} \ - git://github.com/Bumblebee-Project/bbswitch.git ${pkgname}-${version} -} +distfiles="https://github.com/Bumblebee-Project/bbswitch/archive/v$version.tar.gz" +checksum=76cabd3f734fb4fe6ebfe3ec9814138d0d6f47d47238521ecbd6a986b60d1477 do_install() { vinstall Makefile 644 usr/src/${pkgname}-${version}