summaryrefslogtreecommitdiff
path: root/community/shake
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/shake
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/shake')
-rw-r--r--community/shake/PKGBUILD31
-rw-r--r--community/shake/shake.install8
2 files changed, 39 insertions, 0 deletions
diff --git a/community/shake/PKGBUILD b/community/shake/PKGBUILD
new file mode 100644
index 000000000..cc8f72da6
--- /dev/null
+++ b/community/shake/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 43460 2011-03-26 10:32:40Z jlichtblau $
+# Maintainer : Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor : Allan McRae <allan@archlinux.org>
+# Contributor: Julien MISCHKOWITZ <wain@archlinux.fr>
+
+pkgname=shake
+pkgver=0.999
+pkgrel=1
+pkgdesc="Userspace defragmenter that can be run while system is in use"
+arch=('i686' 'x86_64')
+url="http://vleu.net/shake/"
+license=('GPL3')
+depends=('attr')
+makedepends=('cmake' 'help2man')
+install=$pkgname.install
+source=(http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
+sha256sums=('f030d5ba5d4d2d449249c49b253a71de8c342b9b2f5e1e7d3e7ba5277e3f5e91')
+
+build() {
+ cd ${srcdir}/${pkgname}-fs-${pkgver}/build
+
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-fs-${pkgver}/build
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/community/shake/shake.install b/community/shake/shake.install
new file mode 100644
index 000000000..572430c7f
--- /dev/null
+++ b/community/shake/shake.install
@@ -0,0 +1,8 @@
+post_install() {
+ echo "==> shake works faster if you mount your partions with the \"user_xattr\" option"
+}
+
+post_upgrade() {
+ post_install
+}
+