diff --git a/package/nikolaus/unison/unison.conf b/package/nikolaus/unison/unison.conf index 43aadaed5..eec62fd9b 100644 --- a/package/nikolaus/unison/unison.conf +++ b/package/nikolaus/unison/unison.conf @@ -21,22 +21,20 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- -srctar=src.tar.bz2 - -unison_main() +unison_pm() { + mv unison unison-text + if pkginstalled 'gtk+12'; then $MAKE $makeopt UISTYLE=gtk - mv unison unison_gtk - else - echo "WARNING: disabled optional gtk+ UI" + mv unison unison-gtk fi - $MAKE $makeopt UISTYLE=text - mv unison unison_text - cp -v unison_* /usr/bin + cp -v unison-* $bindir } -custmain=unison_main runconf=0 +makeinstopt="" + +hook_add postmake 8 "unison_pm" diff --git a/package/nikolaus/unison/unison.desc b/package/nikolaus/unison/unison.desc index a7d134956..1c61f75d3 100644 --- a/package/nikolaus/unison/unison.desc +++ b/package/nikolaus/unison/unison.desc @@ -21,15 +21,15 @@ [COPY] [COPY] --- ROCK-COPYRIGHT-NOTE-END --- -[I] bidirectional backup/sync tool +[I] Bidirectional backup/sync tool [T] Unison is a bidirectional networked backup and synchronisation tool written [T] in Ocaml. It uses ideas from cvs, rsync, the coda filesystem and is capable [T] of securing the transfer using a ssh tunnel. -[A] Benjamin Pierce [U] http://www.cis.upenn.edu/~bcpierce/unison/ +[A] Benjamin Pierce [M] Nikolaus Filus [C] extra/archive extra/filesystem