summaryrefslogtreecommitdiff
path: root/community/shake/PKGBUILD
blob: 93099b11de24e95391bc16af964cfeb4eb15df92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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' 'mips64el')
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 
}