# ureadahead # Maintainer: ying # Contributor: ying pkgname=ureadahead pkgver=0.100.0 pkgrel=2 pkgdesc="ureadahead is used during boot to read files in advance. readahead-list and sreadahead are out-of-date. Needs kernel26-yi!" arch=('i686' 'x86_64') url="http://malisch-ts.de" install=ureadahead.install depends=('gcc-libs' 'e2fsprogs' 'pkg-config' 'dbus-core') makedepends=('libnih-yi' 'gcc' 'file' 'util-linux-ng') conflicts=('readahead-list' 'sreadahead') replaces=('readahead-list' 'sreadahead') options=(!libtool) source=(http://launchpad.net/ureadahead/trunk/$pkgver/+download/ureadahead-$pkgver.tar.gz ureadahead.py ureadahead-kill) license=('GPL2') md5sums=('086d3f3584b7c54a0c8647c1fba6cec7' 'c93f263e600af8883ff47743a5cd1aaf' '972269538db80f6868ef91041dd7fd00') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --with-included-gettext --prefix /usr make || return 1 make DESTDIR=${pkgdir} install || return 1 rm ${pkgdir}/usr/share/locale/locale.alias mkdir -p ${pkgdir}/usr/share/apport/package-hooks cp ${srcdir}/ureadahead.py ${pkgdir}/usr/share/apport/package-hooks/ureadahead.py install -D -m755 ${srcdir}/ureadahead-kill ${pkgdir}/sbin/ureadahead-kill }