[arch-commits] Commit in gprename/repos/community-any (4 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Oct 31 11:50:19 UTC 2016
Date: Monday, October 31, 2016 @ 11:50:18
Author: jlichtblau
Revision: 194142
archrelease: copy trunk to community-any
Added:
gprename/repos/community-any/PKGBUILD
(from rev 194141, gprename/trunk/PKGBUILD)
gprename/repos/community-any/gprename-build.patch
(from rev 194141, gprename/trunk/gprename-build.patch)
Deleted:
gprename/repos/community-any/PKGBUILD
gprename/repos/community-any/gprename-build.patch
----------------------+
PKGBUILD | 72 ++++++++++++++++++++---------------------
gprename-build.patch | 86 ++++++++++++++++++++++++-------------------------
2 files changed, 79 insertions(+), 79 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-31 11:50:00 UTC (rev 194141)
+++ PKGBUILD 2016-10-31 11:50:18 UTC (rev 194142)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Nick Bolten <Shirakawasuna at gmail _dot_ com>
-
-pkgname=gprename
-pkgver=20140325
-pkgrel=3
-pkgdesc="A GTK2 batch renamer for files and directories"
-arch=('any')
-url="http://gprename.sourceforge.net/"
-license=('GPL3')
-depends=('gtk2-perl' 'perl-libintl-perl' 'perl-locale-gettext')
-makedepends=('patch')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
- $pkgname-build.patch)
-sha256sums=('8322a37ba720d58c520d29985175b86e9a4a74ce7465df8a5d67339dffb6140e'
- '8ade8ded3e4185d0d465668d2d519bc6eaf668f354109c45f42eeb05ba502cc0')
-
-prepare() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- patch -Np1 -i "${srcdir}"/$pkgname-build.patch
-}
-
-package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- make PREFIX=/usr DESTDIR="${pkgdir}"/usr install
-
-#29940 fix
- sed 's#/usr/local#/usr#' -i "${pkgdir}"/usr/bin/$pkgname
- sed 's#/usr/local#/usr#' -i "${pkgdir}"/usr/share/applications/$pkgname*.*
-#45250 fix
- sed 's#/usr/share/pixmaps/gprename#/usr/share/icons#' -i "${pkgdir}"/usr/bin/$pkgname
-}
Copied: gprename/repos/community-any/PKGBUILD (from rev 194141, gprename/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-31 11:50:18 UTC (rev 194142)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Nick Bolten <Shirakawasuna at gmail _dot_ com>
+
+pkgname=gprename
+pkgver=20160905
+pkgrel=1
+pkgdesc="A GTK2 batch renamer for files and directories"
+arch=('any')
+url="http://gprename.sourceforge.net/"
+license=('GPL3')
+depends=('gtk2-perl' 'perl-libintl-perl' 'perl-locale-gettext')
+makedepends=('patch')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
+ $pkgname-build.patch)
+sha256sums=('915140caf40559cdbbc368b8a936192ed07984098c14c95a8e6262e8987449b7'
+ '8ade8ded3e4185d0d465668d2d519bc6eaf668f354109c45f42eeb05ba502cc0')
+
+prepare() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ patch -Np1 -i "${srcdir}"/$pkgname-build.patch
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ make PREFIX=/usr DESTDIR="${pkgdir}"/usr install
+
+#29940 fix
+ sed 's#/usr/local#/usr#' -i "${pkgdir}"/usr/bin/$pkgname
+ sed 's#/usr/local#/usr#' -i "${pkgdir}"/usr/share/applications/$pkgname*.*
+#45250 fix
+ sed 's#/usr/share/pixmaps/gprename#/usr/share/icons#' -i "${pkgdir}"/usr/bin/$pkgname
+}
Deleted: gprename-build.patch
===================================================================
--- gprename-build.patch 2016-10-31 11:50:00 UTC (rev 194141)
+++ gprename-build.patch 2016-10-31 11:50:18 UTC (rev 194142)
@@ -1,43 +0,0 @@
-diff -ruN gprename-20140325/Makefile gprename-20140325-orig/Makefile
---- gprename-20140325/Makefile 2014-03-24 22:06:04.000000000 +0100
-+++ gprename-20140325-orig/Makefile 2014-06-28 16:05:47.453008829 +0200
-@@ -26,7 +26,7 @@
- perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename > build/gprename
- perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename.desktop > build/gprename.desktop
-
--install: uninstall build
-+install: build
- # Compile all .po files to .mo
- msgfmt -o build/locale/ca.mo locale/ca.po
- msgfmt -o build/locale/de.mo locale/de.po
-@@ -45,8 +45,8 @@
- # Create directories
- install -d "$(DESTDIR)"
- install -d "$(DESTDIR)/bin"
-- install -d "/usr/share"
-- install -d "/usr/share/icons"
-+ install -d "$(DESTDIR)/share"
-+ install -d "$(DESTDIR)/share/icons"
- install -d "$(DESTDIR)/share/applications"
- install -d "$(DESTDIR)/share/man"
- install -d "$(DESTDIR)/share/man/man1"
-@@ -67,7 +67,7 @@
- # Copy all files in the filesystem
- install -m 755 build/gprename "$(DESTDIR)/bin/"
- install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/share/applications/"
-- install -m 644 icon/gprename.png "/usr/share/icons/"
-+ install -m 644 icon/gprename.png "$(DESTDIR)/share/icons/"
- install -m 644 man/gprename.1 "$(DESTDIR)/share/man/man1/"
- install -m 644 build/locale/ca.mo "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo"
- install -m 644 build/locale/de.mo "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo"
-@@ -82,8 +82,8 @@
- install -m 644 build/locale/ru.mo "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo"
- install -m 644 build/locale/sv.mo "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo"
- install -m 644 build/locale/zh_CN.mo "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
-- desktop-file-install bin/gprename.desktop
-- update-desktop-database
-+ install -m 644 bin/gprename.desktop "$(DESTDIR)/share/applications/gprename.desktop"
-+# update-desktop-database
- @echo "Installation completed."
-
- uninstall: clean
Copied: gprename/repos/community-any/gprename-build.patch (from rev 194141, gprename/trunk/gprename-build.patch)
===================================================================
--- gprename-build.patch (rev 0)
+++ gprename-build.patch 2016-10-31 11:50:18 UTC (rev 194142)
@@ -0,0 +1,43 @@
+diff -ruN gprename-20140325/Makefile gprename-20140325-orig/Makefile
+--- gprename-20140325/Makefile 2014-03-24 22:06:04.000000000 +0100
++++ gprename-20140325-orig/Makefile 2014-06-28 16:05:47.453008829 +0200
+@@ -26,7 +26,7 @@
+ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename > build/gprename
+ perl -ne 's!\@INSTALLDIR\@!$(PREFIX)!g ; print' < bin/gprename.desktop > build/gprename.desktop
+
+-install: uninstall build
++install: build
+ # Compile all .po files to .mo
+ msgfmt -o build/locale/ca.mo locale/ca.po
+ msgfmt -o build/locale/de.mo locale/de.po
+@@ -45,8 +45,8 @@
+ # Create directories
+ install -d "$(DESTDIR)"
+ install -d "$(DESTDIR)/bin"
+- install -d "/usr/share"
+- install -d "/usr/share/icons"
++ install -d "$(DESTDIR)/share"
++ install -d "$(DESTDIR)/share/icons"
+ install -d "$(DESTDIR)/share/applications"
+ install -d "$(DESTDIR)/share/man"
+ install -d "$(DESTDIR)/share/man/man1"
+@@ -67,7 +67,7 @@
+ # Copy all files in the filesystem
+ install -m 755 build/gprename "$(DESTDIR)/bin/"
+ install -m 644 gprename-nautilus-actions.xml "$(DESTDIR)/share/applications/"
+- install -m 644 icon/gprename.png "/usr/share/icons/"
++ install -m 644 icon/gprename.png "$(DESTDIR)/share/icons/"
+ install -m 644 man/gprename.1 "$(DESTDIR)/share/man/man1/"
+ install -m 644 build/locale/ca.mo "$(DESTDIR)/share/locale/ca/LC_MESSAGES/gprename.mo"
+ install -m 644 build/locale/de.mo "$(DESTDIR)/share/locale/de/LC_MESSAGES/gprename.mo"
+@@ -82,8 +82,8 @@
+ install -m 644 build/locale/ru.mo "$(DESTDIR)/share/locale/ru/LC_MESSAGES/gprename.mo"
+ install -m 644 build/locale/sv.mo "$(DESTDIR)/share/locale/sv/LC_MESSAGES/gprename.mo"
+ install -m 644 build/locale/zh_CN.mo "$(DESTDIR)/share/locale/zh_CN/LC_MESSAGES/gprename.mo"
+- desktop-file-install bin/gprename.desktop
+- update-desktop-database
++ install -m 644 bin/gprename.desktop "$(DESTDIR)/share/applications/gprename.desktop"
++# update-desktop-database
+ @echo "Installation completed."
+
+ uninstall: clean
More information about the arch-commits
mailing list