summaryrefslogtreecommitdiff
path: root/community/shake
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-26 04:08:50 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-26 04:08:50 +0000
commitcda3f380f74d60573c1202f7f34a79c8182e341a (patch)
tree267f0bea80b969004688d5352a9472b4816a8742 /community/shake
parent5f3874cb8718456941af21c866515ddddd82edbc (diff)
Mon May 26 04:03:20 UTC 2014
Diffstat (limited to 'community/shake')
-rw-r--r--community/shake/PKGBUILD22
-rw-r--r--community/shake/shake.patch10
2 files changed, 23 insertions, 9 deletions
diff --git a/community/shake/PKGBUILD b/community/shake/PKGBUILD
index 55336da5f..82105230b 100644
--- a/community/shake/PKGBUILD
+++ b/community/shake/PKGBUILD
@@ -1,31 +1,35 @@
-# $Id: PKGBUILD 67776 2012-03-14 11:42:05Z giovanni $
+# $Id: PKGBUILD 111862 2014-05-25 20:28:58Z 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=2
+pkgrel=3
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')
+makedepends=('cmake' 'help2man' 'patch')
install=$pkgname.install
-source=(http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha256sums=('f030d5ba5d4d2d449249c49b253a71de8c342b9b2f5e1e7d3e7ba5277e3f5e91')
+source=(http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2
+ $pkgname.patch)
+sha256sums=('f030d5ba5d4d2d449249c49b253a71de8c342b9b2f5e1e7d3e7ba5277e3f5e91'
+ 'f7d594bed6b719f103d30da8680122ddb1bfb30d0cf30507f9ce24aefe73c511')
build() {
- cd ${srcdir}/${pkgname}-fs-${pkgver}/build
-
+ cd "${srcdir}"/${pkgname}-fs-${pkgver}
+ patch -Np0 -i "${srcdir}"/$pkgname.patch
+
+ cd "${srcdir}"/${pkgname}-fs-${pkgver}/build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
- cd ${srcdir}/${pkgname}-fs-${pkgver}/build
+ cd "${srcdir}"/${pkgname}-fs-${pkgver}/build
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
}
diff --git a/community/shake/shake.patch b/community/shake/shake.patch
new file mode 100644
index 000000000..26245919a
--- /dev/null
+++ b/community/shake/shake.patch
@@ -0,0 +1,10 @@
+--- judge.h 2011-03-18 00:13:20.000000000 +0100
++++ judge.h 2014-05-25 22:19:57.868937044 +0200
+@@ -22,6 +22,7 @@
+ #include <stdbool.h>
+ #include <fcntl.h>
+ #include <time.h>
++#include <sys/types.h>
+ typedef unsigned int uint;
+ typedef long long int llint;
+