1 # Maintainer: onexused <aursignup dot kyoo at xoxy dot net >
2 # Modified to fit your television.
3 pkgname=tuxonice-sources
6 pkgdesc="Vanilla kernel sources patched with Gentoo and tuxonice patches."
8 url="http://www.kernel.org, http://tuxonice.net, http://www.gentoo.org"
10 optdepends=('hibernate-script: To use hibernation'
11 'tuxonice-userui: For a text or fbsplash hibernation UI')
12 # As this package installs kernel *sources*, rather than a binary named
13 # "kernel26" or the like, I believe it does not conflict with any other package.
14 install=tuxonice-sources.install
16 source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
17 http://tuxonice.net/files/tuxonice-3.2-rc2-for-$pkgver.patch.bz2
18 genpatches-$pkgver-8.base.tar.bz2
19 genpatches-$pkgver-8.extras.tar.bz2)
20 md5sums=(61f3739a73afb6914cb007f37fb09b62
21 9e9986a855a12e44b143f741fb6ed26d
22 a7aa5326443d6cd51407952206294e4e
23 c2c4ac403a65a758827f9ad38543d57d
27 cd $srcdir/linux-$pkgver
28 for I in $srcdir/$pkgver/*.patch
31 patch -Np1 < $srcdir/tuxonice-3.2-rc2-for-$pkgver.patch
35 mkdir -p $pkgdir/usr/src
36 mv $srcdir/linux-$pkgver $pkgdir/usr/src/linux-$pkgver-tuxonice-$pkgrel