From f8ac5d4703080cc87ba2fe36f68df745d3a5f62f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 4 Aug 2012 00:02:16 +0000 Subject: Sat Aug 4 00:02:16 UTC 2012 --- community-testing/krename/PKGBUILD | 31 +++++++++++++++++++++++++++++++ community-testing/krename/krename.install | 11 +++++++++++ 2 files changed, 42 insertions(+) create mode 100644 community-testing/krename/PKGBUILD create mode 100644 community-testing/krename/krename.install (limited to 'community-testing/krename') diff --git a/community-testing/krename/PKGBUILD b/community-testing/krename/PKGBUILD new file mode 100644 index 000000000..50394605a --- /dev/null +++ b/community-testing/krename/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 74730 2012-08-02 15:23:48Z andrea $ +# Maintainer: Eric BĂ©langer + +pkgname=krename +pkgver=4.0.9 +pkgrel=2 +pkgdesc="A very powerfull 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() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/krename/krename.install b/community-testing/krename/krename.install new file mode 100644 index 000000000..1c0de2e4f --- /dev/null +++ b/community-testing/krename/krename.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf