summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/unison
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/unison')
-rw-r--r--abs/extra-testing/unison/PKGBUILD44
-rw-r--r--abs/extra-testing/unison/unison.desktop13
-rw-r--r--abs/extra-testing/unison/unison.install32
3 files changed, 0 insertions, 89 deletions
diff --git a/abs/extra-testing/unison/PKGBUILD b/abs/extra-testing/unison/PKGBUILD
deleted file mode 100644
index 6b3dc00..0000000
--- a/abs/extra-testing/unison/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id: PKGBUILD 57697 2009-11-01 15:08:02Z tpowa $
-#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-
-pkgname=unison
-pkgver=2.32.52
-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' '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
- # clean the builddir and rebuild with gtk support
-# make clean
-# make UISTYLE=gtk DEBUGGING=false THREADS=true || return 1
-# install -Dm755 unison $startdir/pkg/usr/bin/unison-gtk
- # clean the builddir and rebuild with gtk2 support
-# make clean
-# make UISTYLE=gtk2 DEBUGGING=false THREADS=true || return 1
-# install -Dm755 unison $startdir/pkg/usr/bin/unison-gtk2
- # install a .desktop file; create a compliant icon from ico file and install the png
- # install -Dm644 ../$pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop
- # convert win32rc/U.ico unison.png
- # install -Dm644 ${pkgname}-1.png $startdir/pkg/usr/share/pixmaps/$pkgname.png
- # make symlink for .desktop file
- # cd $startdir/pkg//usr/bin
- # ln -s unison-gtk2 unison-x11
-}
-md5sums=('0701f095c1721776a0454b94607eda48'
- '2daecba7705455a8e4b769e48b059872')
diff --git a/abs/extra-testing/unison/unison.desktop b/abs/extra-testing/unison/unison.desktop
deleted file mode 100644
index 3a7e1d7..0000000
--- a/abs/extra-testing/unison/unison.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=unison
-Name[de]=unison
-Comment=File synchronisation tool for X11
-Comment[de]=Datei Abgleicher und Synchronisierer
-TryExec=unison-x11
-Exec=unison-x11
-Terminal=false
-Type=Application
-Categories=GTK;Application;Network;
-Icon=unison.png
-StartupNotify=true
diff --git a/abs/extra-testing/unison/unison.install b/abs/extra-testing/unison/unison.install
deleted file mode 100644
index 70e70b0..0000000
--- a/abs/extra-testing/unison/unison.install
+++ /dev/null
@@ -1,32 +0,0 @@
-# arg 1: the new package version
-post_install() {
- echo "NOTE:"
- echo " For gtk1 frontend please add 'gtk' package."
- echo " For gtk2 frontend please add 'gtk2' package."
- echo " Default X11 frontend is set to gtk2. "
- echo ""
- echo " If you want to default to gtk1 unison:"
- echo " 'rm /usr/bin/unison-x11'"
- echo " 'ln -s /usr/bin/unison-gtk /usr/bin/unison-x11'"
- echo ""
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-op=$1
-shift
-$op $*