[arch-commits] Commit in nomacs/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sat Apr 4 12:03:00 UTC 2020


    Date: Saturday, April 4, 2020 @ 12:02:59
  Author: arojas
Revision: 611571

archrelease: copy trunk to community-staging-x86_64

Added:
  nomacs/repos/community-staging-x86_64/
  nomacs/repos/community-staging-x86_64/PKGBUILD
    (from rev 611569, nomacs/trunk/PKGBUILD)

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

Copied: nomacs/repos/community-staging-x86_64/PKGBUILD (from rev 611569, nomacs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-04 12:02:59 UTC (rev 611571)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+_plugins_pkgver=3.14
+pkgname=nomacs
+pkgver=3.14.2
+pkgrel=2
+pkgdesc="A Qt image viewer"
+arch=('x86_64')
+url="https://nomacs.org/"
+license=('GPL3')
+depends=('exiv2' 'gcc-libs' 'glibc' 'libtiff' 'libraw' 'opencv' 'quazip'
+'qt5-base' 'qt5-svg')
+optdepends=('qt5-imageformats: support additional image formats')
+makedepends=('cmake' 'qt5-tools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz"
+        "${pkgname}-plugins-${_plugins_pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}-plugins/archive/${_plugins_pkgver}.tar.gz")
+sha512sums=('58104c85078bdbff7f65625658bb01b152631470eea93a43494eed55ae5e2441b7bcf3ed6c8f1aef07831bc99c80af94467fcc0e15dc1d282ef313bfcb3c81e9'
+            'c0bca87e50b7b91d80a9d6afd95eeb1d6730b17b9a28ad4109514b36c42781b3f67b25f68f48c0953110d1e02bb03762e813af9c1ec2851c072b4aea74969cbd')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # symlinking plugins into place
+  ln -sv "${srcdir}/${pkgname}-plugins-${_plugins_pkgver}" "ImageLounge/plugins"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DUSE_SYSTEM_QUAZIP=ON \
+        -DENABLE_TRANSLATIONS=true \
+        -B build \
+        -S ./ImageLounge
+  make VERBOSE=1 -C build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C build
+}



More information about the arch-commits mailing list