mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
27 lines
739 B
Bash
27 lines
739 B
Bash
|
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
||
|
|
||
|
pkgname=kernel-headers
|
||
|
pkgver=2.6.29.1
|
||
|
_basever=2.6.29
|
||
|
pkgrel=1
|
||
|
pkgdesc="Kernel headers sanitized for use in userspace"
|
||
|
arch=(arm)
|
||
|
license=('GPL')
|
||
|
url="http://www.gnu.org/software/libc"
|
||
|
groups=('base')
|
||
|
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${_basever}.tar.bz2
|
||
|
http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2)
|
||
|
md5sums=('64921b5ff5cdadbccfcd3820f03be7d8'
|
||
|
'87c6fbf4096b644d66d4da8bb00641a5')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/linux-${_basever}
|
||
|
patch -Np1 -i ${srcdir}/patch-${pkgver} || return 1
|
||
|
|
||
|
make mrproper
|
||
|
make headers_check || return 1
|
||
|
make INSTALL_HDR_PATH=${pkgdir}/usr headers_install
|
||
|
|
||
|
rm -rf ${pkgdir}/usr/include/drm
|
||
|
}
|