Date: Tuesday, February 22, 2011 @ 02:48:24 Author: tpowa Revision: 110780
upgpkg: unison 2.40.61-1 bump to latest version, removed gtk version and install file Modified: unison/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-02-22 05:32:44 UTC (rev 110779) +++ PKGBUILD 2011-02-22 07:48:24 UTC (rev 110780) @@ -2,35 +2,36 @@ #Maintainer: Tobias Powalowski <tp...@archlinux.org> pkgname=unison -pkgver=2.32.52 -pkgrel=2 +pkgver=2.40.61 +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' 'lablgtk2' 'imagemagick') source=(http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/$pkgname-$pkgver.tar.gz - unison-ssh-ocaml.patch $pkgname.desktop) options=(!makeflags) -install=unison.install build() { cd $startdir/src/$pkgname-$pkgver CFLAGS="" - patch -Np1 -i ../unison-ssh-ocaml.patch make clean - make UISTYLE=text DEBUGGING=false THREADS=true + make mkProjectInfo + make UISTYLE=text DEBUGGING=false THREADS=true mkdir -p $startdir/pkg/usr/bin install -Dm755 unison $startdir/pkg/usr/bin/unison # clean the builddir and rebuild with gtk support - make clean - make UISTYLE=gtk DEBUGGING=false THREADS=true - install -Dm755 unison $startdir/pkg/usr/bin/unison-gtk + # broken at the moment! + # make clean + # make mkProjectInfo + # make UISTYLE=gtk DEBUGGING=false THREADS=true + # install -Dm755 unison $startdir/pkg/usr/bin/unison-gtk # clean the builddir and rebuild with gtk2 support make clean + make mkProjectInfo make UISTYLE=gtk2 DEBUGGING=false THREADS=true install -Dm755 unison $startdir/pkg/usr/bin/unison-gtk2 # install a .desktop file; create a compliant icon from ico file and install the png @@ -41,6 +42,5 @@ cd $startdir/pkg//usr/bin ln -s unison-gtk2 unison-x11 } -md5sums=('0701f095c1721776a0454b94607eda48' - '81a28349471434c75a4206d07ad21eb1' +md5sums=('9d48796b115704321c6a4a50dd0928ee' '2daecba7705455a8e4b769e48b059872')