diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-15 23:53:24 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-15 23:53:24 -0400 |
commit | eb133c8b1c796249cea42e3b17e03fccfaa8cfc6 (patch) | |
tree | 43c33f10998af8ad485199638cfd0ddda7a98bd8 /libre/linux-libre-lts/PKGBUILD | |
parent | 0d890d258efd20d019024170fcb156ea4973d6c9 (diff) | |
parent | d55def6a28adaf0688168e109c9793619fb691b2 (diff) |
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'libre/linux-libre-lts/PKGBUILD')
-rw-r--r-- | libre/linux-libre-lts/PKGBUILD | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index 29e2366e1..7055936c0 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 195951 2013-10-06 10:39:36Z bpiotrowski $ +# $Id: PKGBUILD 196512 2013-10-14 16:06:39Z andyrtr $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Maintainer: Thomas Baechler <thomas@archlinux.org> # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> @@ -10,7 +10,7 @@ pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel #pkgbase=linux-libre-custom # Build kernel with a different name _basekernel=3.10 -_sublevel=15 +_sublevel=16 pkgver=${_basekernel}.${_sublevel} pkgrel=1 _lxopkgver=${_basekernel}.15 # nearly always the same as pkgver @@ -33,9 +33,9 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn '3.10.6-logitech-dj.patch' "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2") md5sums=('d562fd52580a3b6b18b6eeb5921d1d5c' - '9d85508aaa75442ec6e480a248102c5a' - '678afb6322e0b0caad6b08bdb2b23dc8' - '13e5a0aa3faf60f791403d0b367dca86' + '652908bcd4527803abd98f762d45501f' + '59a0759df09a59d48d0c470895c50cbb' + 'ad7f5988deb617e3789f95d7e675860d' 'c072b17032e80debc6a8626299245d46' '2967cecc3af9f954ccc822fd63dca6ff' '8267264d9a8966e57fdacd1fa1fc65c4' @@ -163,9 +163,9 @@ _package() { backup=("etc/mkinitcpio.d/${pkgbase}.preset") install=${pkgbase}.install if [ "$CARCH" != "mips64el" ]; then - provides+=('linux-libre-lts-kmod-alx') - conflicts+=('linux-libre-lts-kmod-alx') - replaces+=('linux-libre-lts-kmod-alx') + provides+=("linux-libre${_kernelname}-kmod-alx") + conflicts+=("linux-libre${_kernelname}-kmod-alx") + replaces+=("linux-libre${_kernelname}-kmod-alx") fi if [ "$CARCH" = "mips64el" ]; then optdepends+=('mkinitcpio: to make the initramfs (needs reinstall of this package)') @@ -399,7 +399,24 @@ _package-headers() { fi } -pkgname=("${pkgbase}" "${pkgbase}-headers") +_package-docs() { + pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel" + provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") + conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") + replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") + + cd "${srcdir}/linux-${_basekernel}" + + mkdir -p "${pkgdir}/usr/src/linux-${_kernver}" + cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}" + find "${pkgdir}" -type f -exec chmod 444 {} \; + find "${pkgdir}" -type d -exec chmod 755 {} \; + + # remove a file already in linux package + rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" +} + +pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") for _p in ${pkgname[@]}; do eval "package_${_p}() { _package${_p#${pkgbase}} |