summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-xen
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-13 13:32:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-13 13:32:15 -0300
commit73bb75e51bc8ced3d659b59725ae805642f69f4e (patch)
treed45260a6785f2babe82a8295aa89ec33b7328bab /kernels/linux-libre-xen
parent10deb9716c0ef9b6d37d678ee87191afc6608170 (diff)
downloadabslibre-73bb75e51bc8ced3d659b59725ae805642f69f4e.tar.gz
abslibre-73bb75e51bc8ced3d659b59725ae805642f69f4e.tar.bz2
abslibre-73bb75e51bc8ced3d659b59725ae805642f69f4e.zip
linux-libre-{pae,xen}-3.8.7-1: updating version
* Update to new package standards with prepare function * Add required build-time dependencies [bc will be needed in 3.9] => https://bugs.archlinux.org/task/34600
Diffstat (limited to 'kernels/linux-libre-xen')
-rw-r--r--kernels/linux-libre-xen/PKGBUILD14
-rw-r--r--kernels/linux-libre-xen/linux-libre-xen.install2
2 files changed, 10 insertions, 6 deletions
diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD
index 8d112b6ab..45759cd92 100644
--- a/kernels/linux-libre-xen/PKGBUILD
+++ b/kernels/linux-libre-xen/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 182057 2013-04-06 06:50:23Z tpowa $
+# $Id: PKGBUILD 182718 2013-04-13 10:58:55Z tpowa $
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -6,12 +6,12 @@
pkgbase=linux-libre-xen # Build stock -LIBRE-XEN kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
_basekernel=3.8
-pkgver=${_basekernel}.6
+pkgver=${_basekernel}.7
pkgrel=1
arch=('i686')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
-makedepends=('xmlto' 'docbook-xsl')
+makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
options=('!strip')
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz"
@@ -22,7 +22,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
'boot-logo.patch'
'change-default-console-loglevel.patch')
md5sums=('84c2a77910932ffc7d958744ac9cf2f5'
- '1b3cd03d2add3bfe74e98a953f28c8d0'
+ 'f83582104813c022e6739e12664dbb0c'
'2708b6f03f827e2c94ecbd050df4286d'
'b7c2805bb287a644c0a303bf7721e534'
'04b21c79df0a952c22d681dd4f4562df'
@@ -31,7 +31,7 @@ md5sums=('84c2a77910932ffc7d958744ac9cf2f5'
_kernelname=${pkgbase#linux-libre}
_localversionname=-LIBRE-XEN
-build() {
+prepare() {
cd "${srcdir}/linux-${_basekernel}"
if [ "${_basekernel}" != "${pkgver}" ]; then
@@ -58,6 +58,10 @@ build() {
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
+}
+
+build() {
+ cd "${srcdir}/linux-${_basekernel}"
# get kernel version
make prepare
diff --git a/kernels/linux-libre-xen/linux-libre-xen.install b/kernels/linux-libre-xen/linux-libre-xen.install
index 2b4029b64..f9430058d 100644
--- a/kernels/linux-libre-xen/linux-libre-xen.install
+++ b/kernels/linux-libre-xen/linux-libre-xen.install
@@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=-xen
-KERNEL_VERSION=3.8.6-1-LIBRE-XEN
+KERNEL_VERSION=3.8.7-1-LIBRE-XEN
# set a sane PATH to ensure that critical utils like depmod will be found
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'