summaryrefslogtreecommitdiffstats
path: root/abs/extra/unison/PKGBUILD
blob: b1efa5b4e71729063c89545703641b23895c2c07 (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
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=unison
pkgver=2.27.57
pkgrel=1
pkgdesc="Unison is a file-synchronization tool"
arch=(i686 x86_64)
license=('GPL2')
url="http://www.cis.upenn.edu/~bcpierce/unison"
depends=('glibc')
#makedepends=('ocaml' 'lablgtk' 'lablgtk2' 'imagemagick')
makedepends=('ocaml' )
source=(http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/$pkgname-$pkgver.tar.gz \
        $pkgname.desktop)
options=(!makeflags)
install=unison.install

build() {
  cd $startdir/src/$pkgname-$pkgver
  CFLAGS=""
  make clean
  make UISTYLE=text DEBUGGING=false THREADS=true || return 1
  mkdir -p $startdir/pkg/usr/bin 
  install -Dm755 unison $startdir/pkg/usr/bin/unison
}
md5sums=('4ba0a3e4bf4b4ad0c063f86391371f78'
         '2daecba7705455a8e4b769e48b059872')