updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / sreadahead / PKGBUILD
blob4b45da51f3fcd2d3a2cc4346d6b0487364cd4ea5
1 # Maintainer: adriano <adriano.src@gmail.com>
3 pkgname=sreadahead
4 pkgver=1.0
5 pkgrel=2
6 pkgdesc="A readahead implementation optimized for solid state discs"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/sreadahead/"
9 #depends=('kernel26-fastboot')
10 install=sreadahead.install
11 source=(http://sreadahead.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
12 sreadahead_trace_options.patch)
13 license=('GPL2')
15 build() {
16   cd ${srcdir}/${pkgname}-${pkgver}
17   patch < ${srcdir}/sreadahead_trace_options.patch
18   make || return 1
19   
20   mkdir -p ${pkgdir}/sbin
21   mkdir -p $/var/lib/sreadahead/debugfs
22   
23   cp ${srcdir}/${pkgname}-${pkgver}/sreadahead ${pkgdir}/sbin
24   #cp ${srcdir}/${pkgname}-${pkgver}/sreadahead-pack ${pkgdir}/sbin
27 md5sums=('f9dc659f1bf209621a4f965decb14692'
28          '7e3be14dcdea298d27868ffc1d7d3442')