bbswitch: add distfiles+checksum
This commit is contained in:
@@ -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 <xtraeme@voidlinux.eu>"
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user