updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ureadahead / PKGBUILD
blobbe86bcf8acffc3307f6b3e24c413f81a28b068b0
1 # ureadahead
2 # Maintainer: ying
3 # Contributor: ying
5 pkgname=ureadahead
6 pkgver=0.100.0
7 pkgrel=11
8 pkgdesc="ureadahead is used during boot to read files in advance. readahead-list and sreadahead are out-of-date. Needs patched kernel!"
9 license=('GPL2')
10 arch=('i686' 'x86_64')
11 url="https://launchpad.net/ureadahead"
12 depends=('e2fsprogs' 'libnih' 'dbus-core')
13 options=(!libtool)
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
16         ureadahead)
18 build() {
19   cd "$srcdir"
20   patch -Np0 -i ${pkgname}_$pkgver-$pkgrel.diff
22   cd $pkgname-$pkgver
23   ./configure --prefix /usr
25   make
28 package() {
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')