From 3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Oct 2012 01:37:15 -0700 Subject: Tue Oct 23 01:37:02 PDT 2012 --- community-staging/converseen/PKGBUILD | 32 +++++++++++++++++++++++++ community-staging/converseen/converseen.install | 11 +++++++++ 2 files changed, 43 insertions(+) create mode 100644 community-staging/converseen/PKGBUILD create mode 100644 community-staging/converseen/converseen.install (limited to 'community-staging/converseen') 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 +# Contributor: archtux + +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 +} -- cgit v1.2.3-54-g00ecf