8 pkgdesc="ureadahead is used during boot to read files in advance. readahead-list and sreadahead are out-of-date. Needs patched kernel!"
10 arch=('i686' 'x86_64')
11 url="https://launchpad.net/ureadahead"
12 depends=('e2fsprogs' 'libnih' 'dbus-core')
14 source=(https://launchpad.net/ubuntu/natty/+source/$pkgname/$pkgver-$pkgrel/+files/${pkgname}_$pkgver.orig.tar.gz
15 https://launchpad.net/ubuntu/natty/+source/$pkgname/$pkgver-$pkgrel/+files/${pkgname}_$pkgver-$pkgrel.diff.gz
20 patch -Np0 -i ${pkgname}_$pkgver-$pkgrel.diff
23 ./configure --prefix /usr
29 cd "$srcdir/$pkgname-$pkgver"
30 make DESTDIR="$pkgdir" install
32 mkdir -p "$pkgdir/var/lib/ureadahead/debugfs"
33 rm -r "$pkgdir/usr/etc"
35 install -Dm644 "$srcdir/ureadahead" "$pkgdir/etc/rc.d/functions.d/ureadahead"
40 md5sums=('086d3f3584b7c54a0c8647c1fba6cec7'
41 '1486244625fadff915d1aa37f33d895d'
42 'f92b6f0822e02999e7d906bb9ebc48d2')