[arch-commits] Commit in pyneighborhood/repos/community-any (3 files)

Balló György bgyorgy at nymeria.archlinux.org
Tue Dec 17 12:06:28 UTC 2013


    Date: Tuesday, December 17, 2013 @ 13:06:27
  Author: bgyorgy
Revision: 102663

archrelease: copy trunk to community-any

Added:
  pyneighborhood/repos/community-any/PKGBUILD
    (from rev 102662, pyneighborhood/trunk/PKGBUILD)
Deleted:
  pyneighborhood/repos/community-any/PKGBUILD
  pyneighborhood/repos/community-any/pyneighborhood.install

------------------------+
 PKGBUILD               |   62 +++++++++++++++++++++++------------------------
 pyneighborhood.install |   12 ---------
 2 files changed, 31 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-17 12:06:22 UTC (rev 102662)
+++ PKGBUILD	2013-12-17 12:06:27 UTC (rev 102663)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-
-pkgname=pyneighborhood
-pkgver=0.5.4
-pkgrel=2
-pkgdesc="A GTK+ 2 rewrite of the well-known LinNeighborhood tool"
-license=('GPL')
-url="https://launchpad.net/pyneighborhood"
-source=("http://launchpad.net/pyneighborhood/0.5/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
-depends=('pygtk' 'smbclient')
-install=pyneighborhood.install
-arch=('any')
-options=('!emptydirs')
-sha1sums=('b0d899230ed0212aa50c17f406b0ee7e3d6ac17a')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  # python2 fix
-  for file in $(find . -type f -print); do
-    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
-    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
-  done
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make PYTHON=python2 DESTDIR=${pkgdir}/usr install
-}

Copied: pyneighborhood/repos/community-any/PKGBUILD (from rev 102662, pyneighborhood/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-12-17 12:06:27 UTC (rev 102663)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=pyneighborhood
+pkgver=0.5.4
+pkgrel=3
+pkgdesc="A GTK+ 2 rewrite of the well-known LinNeighborhood tool"
+license=('GPL')
+url="https://launchpad.net/pyneighborhood"
+source=("http://launchpad.net/pyneighborhood/0.5/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2")
+depends=('pygtk' 'smbclient')
+optdepends=('gksu: mount/unmount Samba shares')
+arch=('any')
+options=('!emptydirs')
+sha1sums=('b0d899230ed0212aa50c17f406b0ee7e3d6ac17a')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # python2 fix
+  for file in $(find . -type f -print); do
+    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make PYTHON=python2 DESTDIR=${pkgdir}/usr install
+}

Deleted: pyneighborhood.install
===================================================================
--- pyneighborhood.install	2013-12-17 12:06:22 UTC (rev 102662)
+++ pyneighborhood.install	2013-12-17 12:06:27 UTC (rev 102663)
@@ -1,12 +0,0 @@
-pkgname=pyneighborhood
-
-post_install() {
-  echo ""
-  echo "Please run 'chmod +s /sbin/mount.cifs /sbin/umount.cifs'"
-  echo "as root to be able to mount shares as a non-root user'"
-  echo ""
-  }
-  
-  post_upgrade() {
-    post_install $1
-    }




More information about the arch-commits mailing list