summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
authorSorin-Mihai Vârgolici <smv@yobicore.org>2011-08-06 02:17:11 +0300
committerSorin-Mihai Vârgolici <smv@yobicore.org>2011-08-06 02:17:11 +0300
commitf5b22a7eb1dc440ca8511e2b58a474908823b62b (patch)
tree5c21f450e3fc2b719aa9f2d760f18c9109eaa30c /libre/linux-libre/PKGBUILD
parentb569843eadc21d3d2eb6730bc77efe065666e033 (diff)
downloadabslibre-f5b22a7eb1dc440ca8511e2b58a474908823b62b.tar.gz
abslibre-f5b22a7eb1dc440ca8511e2b58a474908823b62b.tar.bz2
abslibre-f5b22a7eb1dc440ca8511e2b58a474908823b62b.zip
Updated to 3.0.1
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-rw-r--r--libre/linux-libre/PKGBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 7b6d1c1cc..2619e7430 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -9,14 +9,15 @@ pkgname=('linux-libre' 'linux-libre-headers' 'linux-libre-docs') # Build stock -
# pkgname=linux-custom # Build kernel with a different name
_kernelname=${pkgname#linux-libre}
_basekernel=3.0
-pkgver=${_basekernel}
-pkgrel=4
+pkgver=${_basekernel}.1
+pkgrel=1
arch=('i686' 'x86_64')
-url="http://linux-libre.fsfla.org"
+url="http://linux-libre.fsfla.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl')
options=('!strip')
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/linux-${pkgver}-libre.tar.xz"
+ "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/patch-${_basekernel}-libre-${pkgver}-libre.xz"
# the main kernel config files
'config.i686' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
@@ -24,17 +25,12 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/l
'boot-logo.patch'
'fix-i915.patch'
'change-default-console-loglevel.patch')
-md5sums=('44e7bc20c235a193f9b6123a8d5e9509'
- '66dff8af6b00eb8d054b2af85aaa5ef7'
- '1a98b8b8f2140ac8f95c3814cba8cc95'
- 'a8a3843046926eb7ab81312cd438c5c5'
- '04b21c79df0a952c22d681dd4f4562df'
- '263725f20c0b9eb9c353040792d644e5'
- '7396b811db06dec0250a1a098f527b83')
build() {
cd "${srcdir}/linux-${pkgver}"
+ patch -Np1 -i "${srcdir}/patch-${_basekernel}-libre-${pkgver}-libre"
+
# Add freedo as boot logo
patch -Np1 -i "${srcdir}/boot-logo.patch"
@@ -46,7 +42,7 @@ build() {
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
- cat "$srcdir/config.$CARCH" > ./.config # simpler
+ cat "${srcdir}/config.${CARCH}" > ./.config # simpler
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config