diff options
author | yardenac | 2012-09-06 13:58:42 -0700 |
---|---|---|
committer | yar | 2015-07-03 16:58:16 -0700 |
commit | 241f133e074cb3752802775b553f448ca81fa548 (patch) | |
tree | 5fd96a541d66fed2f226fab4e0c621bb537b80f9 /PKGBUILD | |
parent | 8444a50c151ff66010fac1f4b634f81f3f43eed4 (diff) | |
download | aur-241f133e074cb3752802775b553f448ca81fa548.tar.gz |
use ${_srcname} instead of ${_basekernel} in most places
step 2 of #30863
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,6 +2,7 @@ pkgbase=linux-linode pkgname=${pkgbase} _kernelname=${pkgname#linux} _basekernel=3.5 +_srcname=linux-3.5 pkgver=${_basekernel} pkgrel=1 arch=(x86_64) @@ -9,7 +10,7 @@ url="https://github.com/yardenac/linux-linode" license=(GPL2) makedepends=(xmlto docbook-xsl) options=('!strip') -source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.5.tar.xz" +source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz" # "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz" 'config.x86_64' 'menu.lst' @@ -29,7 +30,7 @@ backup=(etc/mkinitcpio.d/${pkgname}.preset) install=${pkgname}.install build() { - cd "${srcdir}/linux-${_basekernel}" + cd "${srcdir}/${_srcname}" # patch -p1 -i "${srcdir}/patch-${pkgver}" patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch" cp "${srcdir}/config.x86_64" ./.config @@ -45,7 +46,7 @@ build() { package_linux-linode() { KARCH=x86 - cd "${srcdir}/linux-${_basekernel}" + cd "${srcdir}/${_srcname}" _kernver="$(make kernelrelease)" mkdir -p "${pkgdir}"/{lib/{modules,firmware},boot} make INSTALL_MOD_PATH="${pkgdir}" modules_install |