summaryrefslogtreecommitdiff
path: root/community-testing/krename
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-04 00:02:16 +0000
committerroot <root@rshg054.dnsready.net>2012-08-04 00:02:16 +0000
commitf8ac5d4703080cc87ba2fe36f68df745d3a5f62f (patch)
tree641ccb335800a868031ab1d89d554e5c1b0f0d9a /community-testing/krename
parent60f7eab28ba0dd57c8ce519609f393dd3931b621 (diff)
Sat Aug 4 00:02:16 UTC 2012
Diffstat (limited to 'community-testing/krename')
-rw-r--r--community-testing/krename/PKGBUILD31
-rw-r--r--community-testing/krename/krename.install11
2 files changed, 42 insertions, 0 deletions
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 <eric@archlinux.org>
+
+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
+}