Guest User

e4rat-git

a guest
Apr 30th, 2012
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # $Id$
  2. # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
  3. # Contributor: graysky <graysky AT archlinux DOT us>
  4. # Edited by mariusmeyer
  5.  
  6. pkgname=e4rat
  7. pkgver=0.2.2
  8. pkgrel=2
  9. pkgdesc="Toolset to accelerate the boot process and application startups for systems with ext4 root partitions."
  10. arch=('i686' 'x86_64')
  11. url="http://e4rat.sourceforge.net/"
  12. license=('GPL')
  13. depends=('e2fsprogs' 'util-linux')
  14. makedepends=('audit' 'boost' 'cmake')
  15. options=(!strip)
  16. backup=(etc/e4rat.conf)
  17. source=(e4rat-static_core.patch)
  18. md5sums=('6a3e53e4932b0bd1d0a35e4bf563a787')
  19.  
  20.  
  21. build() {
  22. git clone git://e4rat.git.sourceforge.net/gitroot/e4rat/e4rat
  23. cd "$srcdir/$pkgname"
  24. patch -p0 -i "$srcdir/e4rat-static_core.patch"
  25.  
  26. unset LDFLAGS
  27. sed -i '/stdlib.h/a #include <unistd.h>' src/fiemap.cc
  28. cmake -DCMAKE_BUILD_TYPE=Release .
  29. make
  30. }
  31.  
  32. package() {
  33. cd "$srcdir/$pkgname"
  34.  
  35. make DESTDIR="$pkgdir" install
  36. install -dm755 "$pkgdir/var/lib/$pkgname"
  37. }
RAW Paste Data