Created
February 22, 2015 17:12
-
-
Save eXeC64/1bba44205030fc6a371f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:set ts=8 sts=2 sw=2 et: | |
pkgname=linux-zenbook | |
pkgrel=1 | |
pkgdesc="Custom linux kernel" | |
arch=('x86_64') | |
url="http://www.kernel.org/" | |
license=('GPL2') | |
pkgver=3.19.r9526.ga135c71 | |
pkgver() { | |
cd $startdir | |
git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' | |
} | |
build() { | |
cd $startdir | |
make -j8 bzImage modules | |
} | |
package() { | |
mkdir -p "${pkgdir}"/{boot,usr/lib/modules} | |
cp "${startdir}"/arch/x86/boot/bzImage "${pkgdir}"/boot/vmlinuz-zenbook | |
cd $startdir | |
make INSTALL_MOD_PATH="${pkgdir}"/usr modules_install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment