diff options
Diffstat (limited to 'libre/linux-libre')
-rw-r--r-- | libre/linux-libre/PKGBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index e73e9d29f..8adb823a9 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -2,15 +2,15 @@ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Maintainer: Thomas Baechler <thomas@archlinux.org> # Maintainer (Parabola): Nicolás Reynolds <fauno@kiwwwi.com.ar> -# Contributor (Parabola): Sorin-Mihai Vârgolici <smv@yobicore.org> +# Maintainer (Parabola): Sorin-Mihai Vârgolici <smv@yobicore.org> pkgbase=linux-libre pkgname=('linux-libre' 'linux-libre-headers' 'linux-libre-docs') # Build stock -LIBRE kernel # pkgname=linux-custom # Build kernel with a different name _kernelname=${pkgname#linux-libre} _basekernel=3.0 -pkgver=${_basekernel}.1 -pkgrel=4 +pkgver=${_basekernel}.3 +pkgrel=1 arch=('i686' 'x86_64') url="http://linux-libre.fsfla.org/" license=('GPL2') @@ -26,7 +26,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-li 'fix-i915.patch' 'change-default-console-loglevel.patch') md5sums=('44e7bc20c235a193f9b6123a8d5e9509' - 'af8d721036d89ed5500675c3289e3b48' + '5d03ffc61ddb0a7f591df038af3a3eee' '66dff8af6b00eb8d054b2af85aaa5ef7' '1a98b8b8f2140ac8f95c3814cba8cc95' 'a8a3843046926eb7ab81312cd438c5c5' @@ -95,8 +95,8 @@ package_linux-libre() { depends=('coreutils' 'module-init-tools>=3.16' 'mkinitcpio>=0.7') optdepends=('crda: to set the correct wireless channels of your country') provides=('kernel26' "linux=$pkgver") - conflicts=('kernel26' 'linux') - replaces=('kernel26' 'linux') + conflicts=('kernel26' 'kernel26-libre' 'linux') + replaces=('kernel26' 'kernel26-libre' 'linux') backup=("etc/mkinitcpio.d/${pkgname}.preset") install=${pkgname}.install @@ -123,6 +123,7 @@ package_linux-libre() { -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \ -i "${startdir}/${pkgname}.install" sed \ + -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \ -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \ -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \ -i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset" @@ -138,8 +139,8 @@ package_linux-libre() { package_linux-libre-headers() { pkgdesc="Header files and scripts for building modules for linux-libre kernel" provides=('kernel26-headers' "linux-headers=$pkgver") - conflicts=('kernel26-headers' 'linux-headers') - replaces=('kernel26-headers' 'linux-headers') + conflicts=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers') + replaces=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers') mkdir -p "${pkgdir}/lib/modules/${_kernver}" @@ -269,8 +270,8 @@ package_linux-libre-headers() { package_linux-libre-docs() { pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux-libre kernel." provides=('kernel26-docs' "linux-docs=$pkgver") - conflicts=('kernel26-docs' 'linux-docs') - replaces=('kernel26-docs' 'linux-docs') + conflicts=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs') + replaces=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs') cd "${srcdir}/linux-${_basekernel}" @@ -283,4 +284,3 @@ package_linux-libre-docs() { rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" } -# vim:set ts=2 sw=2 et: |