Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current/.git;a=commitdiff;h=23f34850a606bba2d4e4bbcf6c9ad0b1ead4614e
commit 23f34850a606bba2d4e4bbcf6c9ad0b1ead4614e Author: crazy <[EMAIL PROTECTED]> Date: Tue Aug 28 01:10:55 2007 +0200 gprename-2.4-1-i686 * Version bump * reworked FB ( I wonder what detto did here .. ) diff --git a/source/xapps-extra/gprename/FrugalBuild b/source/xapps-extra/gprename/FrugalBuild index 8af91d6..0b2da98 100644 --- a/source/xapps-extra/gprename/FrugalBuild +++ b/source/xapps-extra/gprename/FrugalBuild @@ -2,32 +2,20 @@ # Maintainer: detto <[EMAIL PROTECTED]> pkgname=gprename -pkgver=2.3 +pkgver=2.4 pkgrel=1 pkgdesc="Batch renamer for files and directories" -url="http://gprename.sourceforge.net" groups=('xapps-extra') archs=('i686') rodepends=('perl-gtk2') _F_sourceforge_ext=".tar.bz2" Finclude sourceforge -source=([EMAIL PROTECTED] fix-installdir.patch) -sha1sums=('9f5a21d3de908e48c96b8edc34dc67b34077d169' 'f62d244b758bbd75c4e8271efbd032be8fc3fe0a') -_F_desktop_name="GPRename" -_F_desktop_icon="/usr/share/pixmaps/gprename/gprename.png" -_F_desktop_categories="Utility;" +sha1sums=('b80480da81f7eb7c7b29f1ea65ac292a0aa1794b') -build () { - Fpatchall - - Fcd $pkgname-$pkgver - chmod 644 COPYING README languages/* - Fmkdir usr/{bin,share/{pixmaps/gprename,gprename,man/man1/}} - - Fcprrel languages usr/share/gprename/ - Ffilerel man/$pkgname.1 usr/share/man/man1/ - Ffilerel icon/* usr/share/pixmaps/gprename/ - Fexerel bin/$pkgname usr/bin/ - - Fdesktop2 +build () +{ + unset MAKEFLAGS + Fcd + make PREFIX=/usr || Fdie + make DESTDIR=$Fdestdir/usr install || Fdie } diff --git a/source/xapps-extra/gprename/fix-installdir.patch b/source/xapps-extra/gprename/fix-installdir.patch deleted file mode 100644 index fac4e3f..0000000 --- a/source/xapps-extra/gprename/fix-installdir.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -Naur gprename-2.3.orig/bin/gprename gprename-2.3/bin/gprename ---- gprename-2.3.orig/bin/gprename 2007-06-05 15:10:39.000000000 +0200 -+++ gprename-2.3/bin/gprename 2007-06-16 13:25:36.000000000 +0200 -@@ -30,7 +30,7 @@ - use utf8; # Because this file is in UTF8 and because we're using hardcoded accent in Help/About - use Gtk2::Pango; # To use text markup in TextView - --my $install_dir = '@INSTALLDIR@/share/gprename'; -+my $install_dir = '/usr/share/gprename'; - - # Change the font to courier for the Tree and the SimpleList - Gtk2::Rc->parse_string(<<__); -@@ -146,7 +146,7 @@ - $window->show(); - - # Set the window icon --my $icon = '@INSTALLDIR@/share/pixmaps/gprename/gprename.png'; -+my $icon = '/usr/share/pixmaps/gprename/gprename.png'; - my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon ); - $window->set_icon( $pixbuf ); - -@@ -1429,7 +1429,7 @@ - $buffer->create_tag( "big", size => 15 * PANGO_SCALE ); - $buffer->create_tag( "italic", style => 'italic' ); - my $iter = $buffer->get_start_iter; -- my $icon = '@INSTALLDIR@/share/pixmaps/gprename/gprename.png'; -+ my $icon = '/usr/share/pixmaps/gprename/gprename.png'; - my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon ); - - $buffer->insert_pixbuf ($iter, $pixbuf); -diff -Naur gprename-2.3.orig/Makefile gprename-2.3/Makefile ---- gprename-2.3.orig/Makefile 2007-06-05 14:36:38.000000000 +0200 -+++ gprename-2.3/Makefile 2007-06-16 13:22:47.000000000 +0200 -@@ -4,7 +4,7 @@ - # See the file README and COPYING for the Credits and the License - - # Globals: --INSTALLDIR=/usr/local -+INSTALLDIR=/usr - - build: - # Create temporary build directory and modify file locations. _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
