1 # Contributor: exmethix <florian_aust@t-online.de>
2 # Contributor: whaevr <whaevr(at)archlinux(dot)us>
7 pkgdesc="readahead-list allows users to load files into the page cache before they are needed, to accelerate program loading"
9 install=readahead.install
10 url="http://freshmeat.net/projects/readahead-list/"
13 source=(https://launchpad.net/ubuntu/jaunty/+source/${pkgname}/1:${pkgver}-1ubuntu5/+files/${pkgname}_${pkgver}.orig.tar.gz
14 https://launchpad.net/ubuntu/jaunty/+source/${pkgname}/1:${pkgver}-1ubuntu5/+files/${pkgname}_${pkgver}-1ubuntu5.diff.gz
15 readahead-list-desktop
16 readahead-watch-desktop)
17 md5sums=('a67ec6f8805ff67d3ff97570fa5be5ae'
18 'e6fe46a225b68ce4fd91bb117151f58c'
19 '969ad8fec93b7552ee9d5bb32d336bc5'
20 '69f61172747338d6712413916408efc2')
24 mkdir ${pkgdir}/etc/readahead
25 touch ${pkgdir}/etc/readahead/boot
26 touch ${pkgdir}/etc/readahead/desktop
27 mkdir -p ${pkgdir}/etc/rc.d/
28 cp readahead-list-desktop ${pkgdir}/etc/rc.d/
29 cp readahead-watch-desktop ${pkgdir}/etc/rc.d/
30 patch -p1 < ${pkgname}_${pkgver}-1ubuntu5.diff
32 cd "$srcdir/$pkgname-$pkgver"
34 for pat in ../debian/patches/*.patch; do
38 ./configure --prefix=/usr --mandir=/usr/share/man
40 make DESTDIR="$pkgdir/" install