Advertisement
Guest User

PKGBUILD ureadahead

a guest
Jul 4th, 2010
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.26 KB | None | 0 0
  1. # ureadahead
  2. # Maintainer: ying <Jinoto Systems>
  3. # Contributor: ying <Jinoto Systems>
  4.  
  5. pkgname=ureadahead
  6. pkgver=0.100.0
  7. pkgrel=2
  8. pkgdesc="ureadahead is used during boot to read files in advance. readahead-list and sreadahead are out-of-date. Needs kernel26-yi!"
  9. arch=('i686' 'x86_64')
  10. url="http://malisch-ts.de"
  11. install=ureadahead.install
  12. depends=('gcc-libs' 'e2fsprogs' 'pkg-config' 'dbus-core')
  13. makedepends=('libnih-yi' 'gcc' 'file' 'util-linux-ng')
  14. conflicts=('readahead-list' 'sreadahead')
  15. replaces=('readahead-list' 'sreadahead')
  16. options=(!libtool)
  17. source=(http://launchpad.net/ureadahead/trunk/$pkgver/+download/ureadahead-$pkgver.tar.gz ureadahead.py ureadahead-kill)
  18. license=('GPL2')
  19. md5sums=('086d3f3584b7c54a0c8647c1fba6cec7'
  20.          'c93f263e600af8883ff47743a5cd1aaf'
  21.          '972269538db80f6868ef91041dd7fd00')
  22.  
  23. build() {
  24.   cd ${srcdir}/${pkgname}-${pkgver}
  25.  
  26.   ./configure --with-included-gettext --prefix /usr
  27.   make || return 1
  28.   make DESTDIR=${pkgdir} install || return 1
  29.  
  30.   rm ${pkgdir}/usr/share/locale/locale.alias
  31.  
  32.   mkdir -p ${pkgdir}/usr/share/apport/package-hooks
  33.   cp ${srcdir}/ureadahead.py ${pkgdir}/usr/share/apport/package-hooks/ureadahead.py
  34.  
  35.   install -D -m755  ${srcdir}/ureadahead-kill ${pkgdir}/sbin/ureadahead-kill
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement