summaryrefslogtreecommitdiff
path: root/community/e4rat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/e4rat/PKGBUILD')
-rw-r--r--community/e4rat/PKGBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/community/e4rat/PKGBUILD b/community/e4rat/PKGBUILD
index 4055dd567..3bc3a883b 100644
--- a/community/e4rat/PKGBUILD
+++ b/community/e4rat/PKGBUILD
@@ -1,31 +1,25 @@
-# $Id: PKGBUILD 69434 2012-04-16 10:26:17Z mtorromeo $
+# $Id: PKGBUILD 70306 2012-05-04 08:21:46Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: graysky <graysky AT archlinux DOT us>
pkgname=e4rat
-pkgver=0.2.2
+pkgver=0.2.3
pkgrel=1
pkgdesc="Toolset to accelerate the boot process and application startups for systems with ext4 root partitions."
arch=('i686' 'x86_64')
url="http://e4rat.sourceforge.net/"
license=('GPL')
-depends=('e2fsprogs' 'util-linux')
+depends=('e2fsprogs')
makedepends=('audit' 'boost' 'cmake')
options=(!strip)
backup=(etc/e4rat.conf)
-source=(http://downloads.sourceforge.net/project/$pkgname/$pkgver/e4rat_${pkgver}_src.tar.gz e4rat-static_core.patch)
-md5sums=('dada998e857794dc7f76ffc887e04c19'
- '9432ac4a8658812828d90b2676e8519f')
-sha256sums=('ec40740ac05fb0470edd682232fb6c7be0bb57420b70f6c39d1df234753f3ec9'
- '9381d3cee3c24de8b1df9a4c4d626a2d9d20bad695133e3dcecc9f0a8277880a')
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgver/e4rat_${pkgver}_src.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -p0 -i "$srcdir/e4rat-static_core.patch"
unset LDFLAGS
- sed -i '/stdlib.h/a #include <unistd.h>' src/fiemap.cc
- cmake -DCMAKE_BUILD_TYPE=Release .
+ cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_CORE_LIBRARY_STATIC=true .
make
}
@@ -35,3 +29,6 @@ package() {
make DESTDIR="$pkgdir" install
install -dm755 "$pkgdir/var/lib/$pkgname"
}
+
+md5sums=('e8e7db69018036f11d509b65c32d3ea4')
+sha256sums=('f6feda9618eff0f9442baf771b4776b634e5a2f39e678c10e4c7946b2c6a96a0')