summaryrefslogtreecommitdiff
path: root/community/e4rat/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-27 23:14:53 +0000
committerroot <root@rshg054.dnsready.net>2011-10-27 23:14:53 +0000
commit0424b5fc47f106db6498c4cda3476e1d49fe0f82 (patch)
treef5c4ef7fa0139ce627e74b3bc58f35115c7e09ff /community/e4rat/PKGBUILD
parent84fe155e2233db86fcc13134d8802ba1dab0ae83 (diff)
Thu Oct 27 23:14:53 UTC 2011
Diffstat (limited to 'community/e4rat/PKGBUILD')
-rw-r--r--community/e4rat/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/e4rat/PKGBUILD b/community/e4rat/PKGBUILD
new file mode 100644
index 000000000..128defb93
--- /dev/null
+++ b/community/e4rat/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 57392 2011-10-26 21:18:24Z mtorromeo $
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Contributor: graysky <graysky AT archlinux DOT us>
+
+pkgname=e4rat
+pkgver=0.2.1
+pkgrel=3
+pkgdesc="Toolset to accelerate the boot process and application startups. Root partition must be ext4 ONLY!"
+arch=('i686' 'x86_64')
+url="http://e4rat.sourceforge.net/"
+license=('GPL')
+depends=('e2fsprogs' 'util-linux')
+makedepends=('audit' 'boost' 'cmake' 'e2fsprogs' 'perl' 'util-linux')
+options=(!strip)
+install=("$pkgname.install")
+source=(http://downloads.sourceforge.net/project/$pkgname/$pkgver/e4rat_"$pkgver"_src.tar.gz)
+
+build() {
+ unset LDFLAGS
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake -DCMAKE_BUILD_TYPE=Release .
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -dm755 "$pkgdir"/var/lib/$pkgname
+}
+
+md5sums=('cbb1f3cdd2b8c96b4402028da07b11f2')
+sha256sums=('c509f165eff317f80f5d13d7b370514c457df4542ff3b31bee4c26f97ce89769')