summaryrefslogtreecommitdiff
path: root/community/converseen
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-27 23:14:53 +0000
committerroot <root@rshg054.dnsready.net>2011-10-27 23:14:53 +0000
commit0424b5fc47f106db6498c4cda3476e1d49fe0f82 (patch)
treef5c4ef7fa0139ce627e74b3bc58f35115c7e09ff /community/converseen
parent84fe155e2233db86fcc13134d8802ba1dab0ae83 (diff)
Thu Oct 27 23:14:53 UTC 2011
Diffstat (limited to 'community/converseen')
-rw-r--r--community/converseen/PKGBUILD32
-rw-r--r--community/converseen/converseen.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/community/converseen/PKGBUILD b/community/converseen/PKGBUILD
new file mode 100644
index 000000000..3715eb04c
--- /dev/null
+++ b/community/converseen/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 57374 2011-10-26 14:37:55Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: archtux <antonio.arias99999 at gmail.com>
+
+pkgname=converseen
+pkgver=0.4.6
+pkgrel=3
+pkgdesc="The batch image converter and resizer"
+arch=('i686' 'x86_64')
+url="http://converseen.sourceforge.net/"
+license=('GPL3')
+depends=('imagemagick' 'qt')
+makedepends=('cmake')
+install=converseen.install
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('07c876b52e1982b8b2493c3aea3c3071')
+
+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/converseen/converseen.install b/community/converseen/converseen.install
new file mode 100644
index 000000000..9af7fa81f
--- /dev/null
+++ b/community/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
+}