summaryrefslogtreecommitdiff
path: root/community-testing/converseen
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/converseen')
-rw-r--r--community-testing/converseen/PKGBUILD32
-rw-r--r--community-testing/converseen/converseen.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/community-testing/converseen/PKGBUILD b/community-testing/converseen/PKGBUILD
new file mode 100644
index 000000000..4cd41f90c
--- /dev/null
+++ b/community-testing/converseen/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 78798 2012-10-25 01:47:00Z ebelanger $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: archtux <antonio.arias99999 at gmail.com>
+
+pkgname=converseen
+pkgver=0.5.1
+pkgrel=2
+pkgdesc="The batch image converter and resizer"
+arch=('i686' 'x86_64')
+url="http://converseen.sourceforge.net/"
+license=('GPL3')
+depends=('imagemagick' 'qt' 'libwmf' 'openexr')
+makedepends=('cmake')
+install=converseen.install
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('db00c0cf86977494effa971fd238c786')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community-testing/converseen/converseen.install b/community-testing/converseen/converseen.install
new file mode 100644
index 000000000..9af7fa81f
--- /dev/null
+++ b/community-testing/converseen/converseen.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}