Fix kernel package.

We were downloading a website, not a diff. *Facepalm*
This commit is contained in:
aheirman 2021-03-27 14:23:10 +01:00 committed by GitHub
parent 91b0d32e32
commit 3520b62d25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ pkgrel=1
ext="dev" ext="dev"
fetch() { fetch() {
curl "https://github.com/kisslinux/website/blob/master/site/dist/kernel-no-perl.patch" -o kernel-no-perl.patch curl "https://raw.githubusercontent.com/kisslinux/website/master/site/dist/kernel-no-perl.patch" -o kernel-no-perl.patch
curl "https://cdn.kernel.org/pub/linux/kernel/v5.x/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz curl "https://cdn.kernel.org/pub/linux/kernel/v5.x/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz tar -xf $pkgname-$pkgver.tar.xz
cd $pkgname-$pkgver cd $pkgname-$pkgver