summaryrefslogtreecommitdiff
path: root/pcr/clusterit/PKGBUILD
blob: 59ef12be3d7347376ee02782bebdb3910c616a5b (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
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Márcio Silva <coadde@lavabit.com>

pkgname=clusterit
pkgver=2.5
pkgrel=1
pkgdesc='Tools to make a cluster of computers'
arch=(
  i686
  x86_64
  mips64el
)
license=BSD
url=http://www.sourceforge.net/projects/$pkgname
depends=(
  libx11
  sh
)
conflicts=synce-librapi
source=(
  http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
  LICENSE
)
sha512sums=(
  7efb0aa55c9581151ec73405d4e69df2d4258ee4c6b254a29bab95a7b90c4d645387db0d7c884eda6d7a861ce25bea27136df4af1990e5401a1b2a3d035999fc
  65884310aad16ed4d10da24e87016710f12cb9dd8e8a6531d702a3194a18fa6b6a58b340cd98193f24c964d402b5ded1f19c9bb008d6c3957a2409d622da22d8
)

build() {
  cd $srcdir/$pkgname-$pkgver
  setarch $CARCH ./configure --prefix=/usr
  setarch $CARCH make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  setarch $CARCH make DESTDIR=$pkgdir install

  install -d $pkgdir/usr/share/licenses/$pkgname
  install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname
}