[arch-commits] Commit in unison/repos (8 files)

Gaetan Bisson bisson at archlinux.org
Tue Feb 3 21:17:51 UTC 2015


    Date: Tuesday, February 3, 2015 @ 22:17:51
  Author: bisson
Revision: 230410

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  unison/repos/extra-i686/PKGBUILD
    (from rev 230409, unison/trunk/PKGBUILD)
  unison/repos/extra-i686/desktop
    (from rev 230409, unison/trunk/desktop)
  unison/repos/extra-x86_64/PKGBUILD
    (from rev 230409, unison/trunk/PKGBUILD)
  unison/repos/extra-x86_64/desktop
    (from rev 230409, unison/trunk/desktop)
Deleted:
  unison/repos/extra-i686/PKGBUILD
  unison/repos/extra-i686/unison.desktop
  unison/repos/extra-x86_64/PKGBUILD
  unison/repos/extra-x86_64/unison.desktop

-----------------------------+
 /PKGBUILD                   |   94 ++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD         |   54 ------------------------
 extra-i686/desktop          |   11 ++++
 extra-i686/unison.desktop   |   13 -----
 extra-x86_64/PKGBUILD       |   54 ------------------------
 extra-x86_64/desktop        |   11 ++++
 extra-x86_64/unison.desktop |   13 -----
 7 files changed, 116 insertions(+), 134 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-02-03 21:17:21 UTC (rev 230409)
+++ extra-i686/PKGBUILD	2015-02-03 21:17:51 UTC (rev 230410)
@@ -1,54 +0,0 @@
-# $Id$
-#Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=unison
-pkgver=2.48.3
-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' 'lablgtk2' 'imagemagick')
-optdepends=('gtk2: for gtk2 support')
-source=(http://www.cis.upenn.edu/~bcpierce/unison/download/releases/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz
-        $pkgname.desktop)
-sha1sums=('74f1c087ee49dc1db4680ad779280f7333d5c968'
-          'a5181e97d954925c8b14be8f73cd473ca5bd21ba')
-
-options=(!makeflags)
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  CFLAGS=""
-  make clean
-  make mkProjectInfo 
-  make UISTYLE=text DEBUGGING=false THREADS=true 
-  mv unison unison-text
- 
- # clean the builddir and rebuild with gtk support
-  # broken at the moment!
-  # make clean
-  # make mkProjectInfo
-  # make UISTYLE=gtk DEBUGGING=false THREADS=true
-  # install -Dm755 unison "$pkgdir"/usr/bin/unison-gtk
- # clean the builddir and rebuild with gtk2 support
-  make clean
-  make mkProjectInfo
-  make UISTYLE=gtk2 DEBUGGING=false THREADS=true
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  install -Dm755 unison-text "$pkgdir"/usr/bin/unison
-  install -Dm755 unison "$pkgdir"/usr/bin/unison-gtk2
- # install a .desktop file; create a compliant icon from ico file and install the png
-  install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
-  convert win32rc/U.ico unison.png
-  install -Dm644 ${pkgname}-1.png  "$pkgdir"/usr/share/pixmaps/$pkgname.png
- # make symlink for .desktop file
-  cd "$pkgdir"/usr/bin
-  ln -s unison-gtk2 unison-x11
- # make versioned symlink #29827
-  ln -s unison unison-2.40
-}

Copied: unison/repos/extra-i686/PKGBUILD (from rev 230409, unison/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-02-03 21:17:51 UTC (rev 230410)
@@ -0,0 +1,47 @@
+# $Id$
+#Maintainer: Gaetan Bisson <bisson at archlinux.org>
+#Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=unison
+pkgver=2.48.3
+pkgrel=2
+pkgdesc='File-synchronization tool'
+url='http://www.cis.upenn.edu/~bcpierce/unison/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+optdepends=('gtk2: for gtk2 support')
+makedepends=('ocaml' 'lablgtk2' 'imagemagick')
+source=("http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        'desktop')
+sha1sums=('74f1c087ee49dc1db4680ad779280f7333d5c968'
+          '9dad1737dd8d90e7ee2744a96cf71bd9f802a12a')
+
+options=('!makeflags')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	CFLAGS=""
+
+	for ui in text gtk2; do
+		make clean
+		make mkProjectInfo 
+		make UISTYLE=$ui DEBUGGING=false THREADS=true
+		mv unison unison-$ui
+	done
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	install -d "${pkgdir}"/usr/bin
+	install -m755 unison-* "${pkgdir}"/usr/bin
+
+	install -d "${pkgdir}"/usr/share/{pixmaps,applications}
+	convert win32rc/U.ico[1] "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+	install -m644 ../desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+	cd "${pkgdir}"/usr/bin
+	ln -s unison-text unison
+	ln -s unison-gtk2 unison-x11
+	ln -s unison unison-${pkgver%.*}
+}

Copied: unison/repos/extra-i686/desktop (from rev 230409, unison/trunk/desktop)
===================================================================
--- extra-i686/desktop	                        (rev 0)
+++ extra-i686/desktop	2015-02-03 21:17:51 UTC (rev 230410)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=unison
+Comment=File synchronisation tool for X11
+TryExec=unison-x11
+Exec=unison-x11
+Terminal=false
+Type=Application
+Categories=GTK;Application;Network;
+Icon=unison.png
+StartupNotify=true

Deleted: extra-i686/unison.desktop
===================================================================
--- extra-i686/unison.desktop	2015-02-03 21:17:21 UTC (rev 230409)
+++ extra-i686/unison.desktop	2015-02-03 21:17:51 UTC (rev 230410)
@@ -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

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-02-03 21:17:21 UTC (rev 230409)
+++ extra-x86_64/PKGBUILD	2015-02-03 21:17:51 UTC (rev 230410)
@@ -1,54 +0,0 @@
-# $Id$
-#Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=unison
-pkgver=2.48.3
-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' 'lablgtk2' 'imagemagick')
-optdepends=('gtk2: for gtk2 support')
-source=(http://www.cis.upenn.edu/~bcpierce/unison/download/releases/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz
-        $pkgname.desktop)
-sha1sums=('74f1c087ee49dc1db4680ad779280f7333d5c968'
-          'a5181e97d954925c8b14be8f73cd473ca5bd21ba')
-
-options=(!makeflags)
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  CFLAGS=""
-  make clean
-  make mkProjectInfo 
-  make UISTYLE=text DEBUGGING=false THREADS=true 
-  mv unison unison-text
- 
- # clean the builddir and rebuild with gtk support
-  # broken at the moment!
-  # make clean
-  # make mkProjectInfo
-  # make UISTYLE=gtk DEBUGGING=false THREADS=true
-  # install -Dm755 unison "$pkgdir"/usr/bin/unison-gtk
- # clean the builddir and rebuild with gtk2 support
-  make clean
-  make mkProjectInfo
-  make UISTYLE=gtk2 DEBUGGING=false THREADS=true
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  install -Dm755 unison-text "$pkgdir"/usr/bin/unison
-  install -Dm755 unison "$pkgdir"/usr/bin/unison-gtk2
- # install a .desktop file; create a compliant icon from ico file and install the png
-  install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
-  convert win32rc/U.ico unison.png
-  install -Dm644 ${pkgname}-1.png  "$pkgdir"/usr/share/pixmaps/$pkgname.png
- # make symlink for .desktop file
-  cd "$pkgdir"/usr/bin
-  ln -s unison-gtk2 unison-x11
- # make versioned symlink #29827
-  ln -s unison unison-2.40
-}

Copied: unison/repos/extra-x86_64/PKGBUILD (from rev 230409, unison/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-02-03 21:17:51 UTC (rev 230410)
@@ -0,0 +1,47 @@
+# $Id$
+#Maintainer: Gaetan Bisson <bisson at archlinux.org>
+#Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=unison
+pkgver=2.48.3
+pkgrel=2
+pkgdesc='File-synchronization tool'
+url='http://www.cis.upenn.edu/~bcpierce/unison/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+optdepends=('gtk2: for gtk2 support')
+makedepends=('ocaml' 'lablgtk2' 'imagemagick')
+source=("http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        'desktop')
+sha1sums=('74f1c087ee49dc1db4680ad779280f7333d5c968'
+          '9dad1737dd8d90e7ee2744a96cf71bd9f802a12a')
+
+options=('!makeflags')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	CFLAGS=""
+
+	for ui in text gtk2; do
+		make clean
+		make mkProjectInfo 
+		make UISTYLE=$ui DEBUGGING=false THREADS=true
+		mv unison unison-$ui
+	done
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	install -d "${pkgdir}"/usr/bin
+	install -m755 unison-* "${pkgdir}"/usr/bin
+
+	install -d "${pkgdir}"/usr/share/{pixmaps,applications}
+	convert win32rc/U.ico[1] "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+	install -m644 ../desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+	cd "${pkgdir}"/usr/bin
+	ln -s unison-text unison
+	ln -s unison-gtk2 unison-x11
+	ln -s unison unison-${pkgver%.*}
+}

Copied: unison/repos/extra-x86_64/desktop (from rev 230409, unison/trunk/desktop)
===================================================================
--- extra-x86_64/desktop	                        (rev 0)
+++ extra-x86_64/desktop	2015-02-03 21:17:51 UTC (rev 230410)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=unison
+Comment=File synchronisation tool for X11
+TryExec=unison-x11
+Exec=unison-x11
+Terminal=false
+Type=Application
+Categories=GTK;Application;Network;
+Icon=unison.png
+StartupNotify=true

Deleted: extra-x86_64/unison.desktop
===================================================================
--- extra-x86_64/unison.desktop	2015-02-03 21:17:21 UTC (rev 230409)
+++ extra-x86_64/unison.desktop	2015-02-03 21:17:51 UTC (rev 230410)
@@ -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



More information about the arch-commits mailing list