[arch-commits] Commit in perlpanel/repos/community-any (6 files)

Balló György bgyorgy at nymeria.archlinux.org
Sun Apr 7 02:42:10 UTC 2013


    Date: Sunday, April 7, 2013 @ 04:42:10
  Author: bgyorgy
Revision: 87817

archrelease: copy trunk to community-any

Added:
  perlpanel/repos/community-any/PKGBUILD
    (from rev 87816, perlpanel/trunk/PKGBUILD)
  perlpanel/repos/community-any/arch.patch
    (from rev 87816, perlpanel/trunk/arch.patch)
  perlpanel/repos/community-any/perlpanel.install
    (from rev 87816, perlpanel/trunk/perlpanel.install)
Deleted:
  perlpanel/repos/community-any/PKGBUILD
  perlpanel/repos/community-any/arch.patch
  perlpanel/repos/community-any/perlpanel.install

-------------------+
 PKGBUILD          |   73 +++++++++++++++++++++++++++------------------------
 arch.patch        |   74 ++++++++++++++++++++++++++--------------------------
 perlpanel.install |   28 +++++++++----------
 3 files changed, 90 insertions(+), 85 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-07 02:42:04 UTC (rev 87816)
+++ PKGBUILD	2013-04-07 02:42:10 UTC (rev 87817)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Georg Grabler <ggrabler at gmail.com>
-
-pkgname=perlpanel
-pkgver=20080729
-pkgrel=3
-pkgdesc="PerlPanel is the ideal accompaniment to a light-weight Window Manager such as OpenBox, or a desktop-drawing program like iDesk."
-arch=('any')
-url="http://savannah.nongnu.org/projects/perlpanel"
-license=('GPL')
-install=perlpanel.install
-depends=('perl' 'perl-xmms' 'perlxml' 'perl-xml-simple' 'gtk2-perl' 'glade-perl'
-	 'perl-gnome2-wnck' 'perl-locale-gettext' 'perl-date-manip')
-source=(http://archlinux-stuff.googlecode.com/files/PerlPanel-$pkgver.tar.gz
-	arch.patch)
-md5sums=('8c7b76c4a5447ba4deef34b29bf883b7'
-         'c224817ecd0fa7372b3326a3f8196c3e')
-
-build() {
-  cd $srcdir/PerlPanel
-  chmod -R u+w *
-  sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' Makefile
-
-  patch -p1 <../arch.patch
-
-  make
-  make DESTDIR=$pkgdir install
-
-  /usr/bin/find $pkgdir -name '.packlist' -exec rm '{}' \;
-  /usr/bin/find $pkgdir -name 'perllocal.pod' -exec rm '{}' \;
-  /usr/bin/find $pkgdir -depth -type d -empty -exec rmdir '{}' \;
-  /usr/bin/find $pkgdir -depth -type d -name CVS -exec rm -rf {} \;
-}

Copied: perlpanel/repos/community-any/PKGBUILD (from rev 87816, perlpanel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-04-07 02:42:10 UTC (rev 87817)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Georg Grabler <ggrabler at gmail.com>
+
+pkgname=perlpanel
+pkgver=20080729
+pkgrel=4
+pkgdesc="The ideal accompaniment to a light-weight Window Manager such as OpenBox, or a desktop-drawing program like iDesk."
+arch=('any')
+url="http://savannah.nongnu.org/projects/perlpanel"
+license=('GPL')
+install=perlpanel.install
+depends=('glade-perl' 'gnome-vfs-perl' 'perl-date-manip' 'perl-gnome2-wnck' 'perl-locale-gettext' 'perl-xml-parser' 'perl-xml-simple' 'hicolor-icon-theme')
+optdepends=('perl-xmms: XMMS applet')
+source=(http://archlinux-stuff.googlecode.com/files/PerlPanel-$pkgver.tar.gz
+	arch.patch)
+md5sums=('8c7b76c4a5447ba4deef34b29bf883b7'
+         'c224817ecd0fa7372b3326a3f8196c3e')
+
+build() {
+  cd $srcdir/PerlPanel
+  chmod -R u+w *
+  sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' Makefile
+
+  patch -p1 <../arch.patch
+
+  make
+}
+
+package() {
+  cd $srcdir/PerlPanel
+
+  make DESTDIR=$pkgdir install
+
+  find $pkgdir -name '.packlist' -exec rm '{}' \;
+  find $pkgdir -name 'perllocal.pod' -exec rm '{}' \;
+  find $pkgdir -depth -type d -empty -exec rmdir '{}' \;
+  find $pkgdir -depth -type d -name CVS -exec rm -rf {} \;
+}

Deleted: arch.patch
===================================================================
--- arch.patch	2013-04-07 02:42:04 UTC (rev 87816)
+++ arch.patch	2013-04-07 02:42:10 UTC (rev 87817)
@@ -1,37 +0,0 @@
-diff -wbBur PerlPanel.org/lib/PerlPanel.pm PerlPanel/lib/PerlPanel.pm
---- PerlPanel.org/lib/PerlPanel.pm	2005-02-21 18:58:50.000000000 +0300
-+++ PerlPanel/lib/PerlPanel.pm	2008-07-29 18:12:46.000000000 +0400
-@@ -269,10 +269,7 @@
- 
- 	$self->{icon_theme}->set_custom_theme($theme);
- 
--	if ($VERSION !~ /^[\d\.]$/) {
--		# we're in sandbox mode
- 		$self->{icon_theme}->prepend_search_path(sprintf('%s/share/icons', $PREFIX));
--	}
- 	$self->{icon_theme}->prepend_search_path(sprintf('%s/.%s/icon-files', $ENV{HOME}, lc($NAME)));
- 	$self->{icon_theme}->prepend_search_path(sprintf('%s/.local/share/icons', $ENV{HOME}));
- 
-diff -wbBur PerlPanel.org/src/perlpanel-applet-install PerlPanel/src/perlpanel-applet-install
---- PerlPanel.org/src/perlpanel-applet-install	2004-10-20 03:09:51.000000000 +0400
-+++ PerlPanel/src/perlpanel-applet-install	2008-07-29 18:12:26.000000000 +0400
-@@ -74,19 +74,11 @@
- 
- } else {
- 	my %args;
--	if ($user > 0) {
--		%args = (
--			datadir	=> sprintf('%s/.local/share', $ENV{HOME}),
--			libdir	=> sprintf('%s/.%s/applets', $ENV{HOME}, lc($PerlPanel::NAME)),
--			regfile	=> sprintf('%s/.%s/applet.registry', $ENV{HOME}, lc($PerlPanel::NAME)),
--		);
--	} else {
- 		%args = (
- 			datadir	=> sprintf('%s/share', $PerlPanel::PREFIX),
- 			libdir	=> sprintf('%s/%s/Applet', $PerlPanel::LIBDIR, $PerlPanel::NAME),
- 			regfile	=> sprintf('%s/share/%s/applet.registry', $PerlPanel::PREFIX, lc($PerlPanel::NAME)),
- 		);
--	}
- 	print Dumper(\%args);
- 	my ($code, $error) = PerlPanel::install_applet($file, %args);
- 	if ($code == 1) {

Copied: perlpanel/repos/community-any/arch.patch (from rev 87816, perlpanel/trunk/arch.patch)
===================================================================
--- arch.patch	                        (rev 0)
+++ arch.patch	2013-04-07 02:42:10 UTC (rev 87817)
@@ -0,0 +1,37 @@
+diff -wbBur PerlPanel.org/lib/PerlPanel.pm PerlPanel/lib/PerlPanel.pm
+--- PerlPanel.org/lib/PerlPanel.pm	2005-02-21 18:58:50.000000000 +0300
++++ PerlPanel/lib/PerlPanel.pm	2008-07-29 18:12:46.000000000 +0400
+@@ -269,10 +269,7 @@
+ 
+ 	$self->{icon_theme}->set_custom_theme($theme);
+ 
+-	if ($VERSION !~ /^[\d\.]$/) {
+-		# we're in sandbox mode
+ 		$self->{icon_theme}->prepend_search_path(sprintf('%s/share/icons', $PREFIX));
+-	}
+ 	$self->{icon_theme}->prepend_search_path(sprintf('%s/.%s/icon-files', $ENV{HOME}, lc($NAME)));
+ 	$self->{icon_theme}->prepend_search_path(sprintf('%s/.local/share/icons', $ENV{HOME}));
+ 
+diff -wbBur PerlPanel.org/src/perlpanel-applet-install PerlPanel/src/perlpanel-applet-install
+--- PerlPanel.org/src/perlpanel-applet-install	2004-10-20 03:09:51.000000000 +0400
++++ PerlPanel/src/perlpanel-applet-install	2008-07-29 18:12:26.000000000 +0400
+@@ -74,19 +74,11 @@
+ 
+ } else {
+ 	my %args;
+-	if ($user > 0) {
+-		%args = (
+-			datadir	=> sprintf('%s/.local/share', $ENV{HOME}),
+-			libdir	=> sprintf('%s/.%s/applets', $ENV{HOME}, lc($PerlPanel::NAME)),
+-			regfile	=> sprintf('%s/.%s/applet.registry', $ENV{HOME}, lc($PerlPanel::NAME)),
+-		);
+-	} else {
+ 		%args = (
+ 			datadir	=> sprintf('%s/share', $PerlPanel::PREFIX),
+ 			libdir	=> sprintf('%s/%s/Applet', $PerlPanel::LIBDIR, $PerlPanel::NAME),
+ 			regfile	=> sprintf('%s/share/%s/applet.registry', $PerlPanel::PREFIX, lc($PerlPanel::NAME)),
+ 		);
+-	}
+ 	print Dumper(\%args);
+ 	my ($code, $error) = PerlPanel::install_applet($file, %args);
+ 	if ($code == 1) {

Deleted: perlpanel.install
===================================================================
--- perlpanel.install	2013-04-07 02:42:04 UTC (rev 87816)
+++ perlpanel.install	2013-04-07 02:42:10 UTC (rev 87817)
@@ -1,14 +0,0 @@
-post_install() {
-  gtk-update-icon-cache /usr/share/icons/hicolor && \
-  gtk-update-icon-cache /usr/share/icons/Bluecurve && \
-  gtk-update-icon-cache /usr/share/icons/crystalsvg
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-

Copied: perlpanel/repos/community-any/perlpanel.install (from rev 87816, perlpanel/trunk/perlpanel.install)
===================================================================
--- perlpanel.install	                        (rev 0)
+++ perlpanel.install	2013-04-07 02:42:10 UTC (rev 87817)
@@ -0,0 +1,14 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor && \
+  gtk-update-icon-cache -q -t -f /usr/share/icons/Bluecurve && \
+  gtk-update-icon-cache -q -t -f /usr/share/icons/crystalsvg
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+




More information about the arch-commits mailing list