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

Eric Bélanger eric at archlinux.org
Tue Sep 30 01:24:41 UTC 2014


    Date: Tuesday, September 30, 2014 @ 03:24:41
  Author: eric
Revision: 119853

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  krename/repos/community-staging-i686/
  krename/repos/community-staging-x86_64/
  krename/repos/community-staging-x86_64/PKGBUILD
    (from rev 119852, krename/trunk/PKGBUILD)
  krename/repos/community-staging-x86_64/krename.install
    (from rev 119852, krename/trunk/krename.install)

-----------------+
 PKGBUILD        |   31 +++++++++++++++++++++++++++++++
 krename.install |   11 +++++++++++
 2 files changed, 42 insertions(+)

Copied: krename/repos/community-staging-x86_64/PKGBUILD (from rev 119852, krename/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-09-30 01:24:41 UTC (rev 119853)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=krename
+pkgver=4.0.9
+pkgrel=4
+pkgdesc="A very powerful batch file renamer for KDE"
+arch=('i686' 'x86_64')
+url="http://www.krename.net"
+license=('GPL')
+depends=('kdebase-runtime' 'taglib')
+makedepends=('cmake' 'automoc4')
+options=('libtool')
+install=krename.install
+source=(http://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('03886a385a16de4c9bc285d25b9816ea97768c9e')
+
+build() {
+  mkdir build
+  cd build
+  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
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: krename/repos/community-staging-x86_64/krename.install (from rev 119852, krename/trunk/krename.install)
===================================================================
--- community-staging-x86_64/krename.install	                        (rev 0)
+++ community-staging-x86_64/krename.install	2014-09-30 01:24:41 UTC (rev 119853)
@@ -0,0 +1,11 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list