Date: Monday, May 31, 2021 @ 20:18:17
  Author: arojas
Revision: 952893

archrelease: copy trunk to community-staging-x86_64

Added:
  converseen/repos/community-staging-x86_64/
  converseen/repos/community-staging-x86_64/PKGBUILD
    (from rev 952892, converseen/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: converseen/repos/community-staging-x86_64/PKGBUILD (from rev 952892, 
converseen/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-31 20:18:17 UTC (rev 952893)
@@ -0,0 +1,32 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Giovanni Scafora <giova...@archlinux.org>
+# Contributor: archtux <antonio.arias99999 at gmail.com>
+
+pkgname=converseen
+pkgver=0.9.9.0
+pkgrel=2
+pkgdesc='Batch image converter and resizer'
+arch=('x86_64')
+url='http://converseen.fasterland.net/'
+license=('GPL3')
+depends=('djvulibre' 'ghostscript' 'hicolor-icon-theme' 'libheif' 
'imagemagick' 'libraw' 'librsvg'
+         'libwebp' 'libwmf' 'libzip' 'openexr' 'qt5-base')
+makedepends=('cmake' 'qt5-tools')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2";)
+sha256sums=('f3812bfe2768463a2aa5eea98cce665a1cff7d543a0915ff3a836c837f2867c6')
+
+prepare() {
+  cd $pkgname-$pkgver
+  convert res/converseen.png +set date:create +set date:modify -resize 256x256 
-alpha on res/converseen.png
+  sed -i 's|/share/pixmaps|/share/icons/hicolor/256x256/apps|' CMakeLists.txt
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to