[arch-commits] Commit in krename/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Jan 19 22:50:31 UTC 2018


    Date: Friday, January 19, 2018 @ 22:50:30
  Author: arojas
Revision: 284245

Update to KF5 version

Modified:
  krename/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-19 21:21:30 UTC (rev 284244)
+++ PKGBUILD	2018-01-19 22:50:30 UTC (rev 284245)
@@ -1,37 +1,35 @@
 # $Id$
 # Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=krename
-pkgver=4.0.9
-pkgrel=8
-pkgdesc="A very powerful batch file renamer for KDE"
-arch=('x86_64')
+pkgver=4.90.90
+pkgrel=1
+pkgdesc="A very powerful batch file renamer"
+arch=(x86_64)
 url="http://www.krename.net"
-license=('GPL')
-depends=('kdebase-runtime' 'taglib')
-makedepends=('cmake' 'automoc4')
-options=('libtool')
-source=(https://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2 krename-gcc6.patch)
-sha1sums=('03886a385a16de4c9bc285d25b9816ea97768c9e'
-          '87fe0f0f1f2d12496cebdb2b235a7476b9f809ea')
+license=(GPL)
+depends=(kio kjs exiv2 podofo taglib hicolor-icon-theme)
+makedepends=(extra-cmake-modules)
+source=(https://download.kde.org/unstable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+sha256sums=('1fb1f558a57474e47c03a528f86e87b275b87dbb026e1275386f9a9099d7f740'
+            'SKIP')
+validpgpkeys=(D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heirecka at exherbo.org>
 
 prepare() {
-  cd $pkgname-$pkgver
-# Fix build with GCC 6
-  patch -p1 -i ../krename-gcc6.patch
+  mkdir -p build
 }
 
 build() {
-  mkdir build
   cd build
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-I/usr/include/freetype2"
-  sed -i 's|/share/locale|/share/locale/kde4|' po/cmake_install.cmake
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF
   make
 }
 
 package() {
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list