[arch-commits] Commit in converseen/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Oct 31 08:12:04 UTC 2019
Date: Thursday, October 31, 2019 @ 08:12:03
Author: arojas
Revision: 521026
archrelease: copy trunk to community-staging-x86_64
Added:
converseen/repos/community-staging-x86_64/
converseen/repos/community-staging-x86_64/PKGBUILD
(from rev 521025, converseen/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: converseen/repos/community-staging-x86_64/PKGBUILD (from rev 521025, converseen/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-31 08:12:03 UTC (rev 521026)
@@ -0,0 +1,39 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: archtux <antonio.arias99999 at gmail.com>
+
+pkgname=converseen
+pkgver=0.9.7.2
+pkgrel=4
+pkgdesc="Batch image converter and resizer"
+arch=('x86_64')
+url="http://converseen.fasterland.net/"
+license=('GPL3')
+depends=('ghostscript' 'hicolor-icon-theme' 'libheif' 'imagemagick' 'libraw' 'librsvg' 'libwebp' 'libwmf' 'openexr' 'qt5-base')
+makedepends=('cmake' 'qt5-tools')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha256sums=('27b322450a80b6eb7d7f9d936f33ffe18cb06c6ab684c027dd474af91a03fb76')
+
+prepare() {
+ mkdir build
+ 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
+
+ # Don't use legacy path for AppStream metainfo file
+ # https://github.com/Faster3ck/Converseen/pull/61
+ sed -i 's|/usr/share/appdata/|/usr/share/metainfo/|' CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list