diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/krename |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/krename')
-rw-r--r-- | community/krename/PKGBUILD | 32 | ||||
-rw-r--r-- | community/krename/krename.install | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/community/krename/PKGBUILD b/community/krename/PKGBUILD new file mode 100644 index 000000000..0c2f94c88 --- /dev/null +++ b/community/krename/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 40347 2011-02-23 07:59:53Z ebelanger $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=krename +pkgver=4.0.7 +pkgrel=1 +pkgdesc="A very powerfull batch file renamer for KDE" +arch=('i686' 'x86_64') +url="http://www.krename.net" +license=('GPL') +depends=('kdelibs' 'taglib' 'xdg-utils') +makedepends=('cmake' 'automoc4') +options=('libtool') +install=krename.install +source=(http://downloads.sourceforge.net/project/krename/KDE4%20krename-stable/${pkgver}/${pkgname}-${pkgver}.tar.bz) +md5sums=('afcf877b55395b35cd58a254163fb75e') +sha1sums=('c53d1819247a88bc4f49d52936f1e2bc7fa9850d') + +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/krename/krename.install b/community/krename/krename.install new file mode 100644 index 000000000..1c0de2e4f --- /dev/null +++ b/community/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 +} |