summaryrefslogtreecommitdiff
path: root/community-staging/converseen
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-23 01:37:15 -0700
committerroot <root@rshg054.dnsready.net>2012-10-23 01:37:15 -0700
commit3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (patch)
tree8fac31deec086251b3b9dc8faddfe14f5667392b /community-staging/converseen
parent99746708edfd2c56f2ba654a14f27e98b1601a43 (diff)
Tue Oct 23 01:37:02 PDT 2012
Diffstat (limited to 'community-staging/converseen')
-rw-r--r--community-staging/converseen/PKGBUILD32
-rw-r--r--community-staging/converseen/converseen.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/community-staging/converseen/PKGBUILD b/community-staging/converseen/PKGBUILD
new file mode 100644
index 000000000..8712b24c1
--- /dev/null
+++ b/community-staging/converseen/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 78710 2012-10-23 01:14:53Z 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-staging/converseen/converseen.install b/community-staging/converseen/converseen.install
new file mode 100644
index 000000000..9af7fa81f
--- /dev/null
+++ b/community-staging/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
+}