summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-13 13:49:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-13 13:49:05 -0300
commit4dcc24341a61d2f32a119dbccdbdea7ef479e019 (patch)
tree09f1fc78d39f6643812883e8c94079a65059d719
parentaf8fd7c746d688da496d420f50bced9663c2cd27 (diff)
downloadabslibre-4dcc24341a61d2f32a119dbccdbdea7ef479e019.tar.gz
abslibre-4dcc24341a61d2f32a119dbccdbdea7ef479e019.tar.bz2
abslibre-4dcc24341a61d2f32a119dbccdbdea7ef479e019.zip
linux-rt: make some changes on PKGBUILD
* 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
-rw-r--r--kernels/linux-libre-rt/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index a239bce41..fed3ad748 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -18,7 +18,7 @@ _lxopkgver=${_basekernel}.4 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
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"
@@ -52,7 +52,7 @@ fi
_kernelname=${pkgbase#linux-libre}
_localversionname=-LIBRE-RT
-build() {
+prepare() {
cd "${srcdir}/linux-${_basekernel}"
if [ "${_basekernel}" != "${pkgver}" ]; then
@@ -102,6 +102,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