[arch-commits] Commit in krename/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 18 08:03:36 UTC 2019


    Date: Saturday, May 18, 2019 @ 08:03:36
  Author: foutrelis
Revision: 467835

archrelease: copy trunk to community-staging-x86_64

Added:
  krename/repos/community-staging-x86_64/
  krename/repos/community-staging-x86_64/PKGBUILD
    (from rev 467834, krename/trunk/PKGBUILD)
  krename/repos/community-staging-x86_64/krename-gcc6.patch
    (from rev 467834, krename/trunk/krename-gcc6.patch)

--------------------+
 PKGBUILD           |   34 ++++++++++++++++++++++++++++++++++
 krename-gcc6.patch |   11 +++++++++++
 2 files changed, 45 insertions(+)

Copied: krename/repos/community-staging-x86_64/PKGBUILD (from rev 467834, krename/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-18 08:03:36 UTC (rev 467835)
@@ -0,0 +1,34 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=krename
+pkgver=5.0.0
+pkgrel=3
+pkgdesc="A very powerful batch file renamer"
+arch=(x86_64)
+url="https://www.krename.net"
+license=(GPL)
+depends=(kio kjs exiv2 podofo taglib hicolor-icon-theme)
+makedepends=(extra-cmake-modules)
+source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
+sha256sums=('0a61761853787fd46b35f3a733cf87cde00de5df631728332a64c38c670bd28c'
+            'SKIP')
+validpgpkeys=(D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heirecka at exherbo.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: krename/repos/community-staging-x86_64/krename-gcc6.patch (from rev 467834, krename/trunk/krename-gcc6.patch)
===================================================================
--- community-staging-x86_64/krename-gcc6.patch	                        (rev 0)
+++ community-staging-x86_64/krename-gcc6.patch	2019-05-18 08:03:36 UTC (rev 467835)
@@ -0,0 +1,11 @@
+--- krename-4.0.9/src/batchrenamer.cpp.orig	2016-05-07 12:50:29.243165528 +0000
++++ krename-4.0.9/src/batchrenamer.cpp	2016-05-07 12:50:52.543081000 +0000
+@@ -402,7 +402,7 @@
+                 break;
+             case eRenameMode_Link:
+                 // In case of link delete created file
+-                job = KIO::file_delete( dstUrl, false );
++                job = KIO::file_delete( dstUrl, NULL );
+                 break;
+             case eRenameMode_Copy: // no undo possible
+                 // TODO: Maybe we should delete the created files


More information about the arch-commits mailing list