pkgname=linux-sources pkgver=2.6.28.4 _kernver=2.6.28 pkgrel=0 pkgdesc="The vanilla Linux kernel sources" arch=i486 license=GPL-2 url=http://kernel.org source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2 " build() { cd $srcdir/linux-$_kernver if [ "$_kernver" != "$pkgver" ]; then bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 || return 1 fi mkdir -p "$pkgdir/usr/src" cd "$srcdir" mv "linux-$_kernver" "$pkgdir/usr/src/linux-$pkgver" } md5sums="d351e44709c9810b85e29b877f50968a linux-2.6.28.tar.bz2 65afbbf63a73ee7be7227531622049fe patch-2.6.28.4.bz2"