[arch-commits] Commit in diffpdf/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:37:14 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:37:14
  Author: felixonmars
Revision: 659329

archrelease: copy trunk to community-staging-x86_64

Added:
  diffpdf/repos/community-staging-x86_64/
  diffpdf/repos/community-staging-x86_64/PKGBUILD
    (from rev 659327, diffpdf/trunk/PKGBUILD)
  diffpdf/repos/community-staging-x86_64/diffpdf.desktop
    (from rev 659327, diffpdf/trunk/diffpdf.desktop)

-----------------+
 PKGBUILD        |   34 ++++++++++++++++++++++++++++++++++
 diffpdf.desktop |   11 +++++++++++
 2 files changed, 45 insertions(+)

Copied: diffpdf/repos/community-staging-x86_64/PKGBUILD (from rev 659327, diffpdf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:37:14 UTC (rev 659329)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Hoàng Đức Hiếu <arch at zahe.me>
+# Contributor: Fernando
+# Contributor: Manfred Sauter
+# Contributor: Marcos Heredia <chelqo at gmail.com>
+
+pkgname=diffpdf
+pkgver=2.1.3.1
+pkgrel=2
+pkgdesc="Diffing pdf files visually or textually"
+url="https://gitlab.com/eang/diffpdf"
+license=('GPL2')
+arch=('x86_64')
+depends=('poppler-qt5' 'hicolor-icon-theme')
+makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools')
+source=("https://gitlab.com/eang/diffpdf/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
+sha512sums=('9213fc8ee9d568ad97824d30de1ffb137c30c58935f8a19e19690e956cd4db1a0c6020d0543f76ca1b4ca8858d7ce9329544bda6a68b943b00e1a581cdb1ed41')
+
+build() {
+  cd ${srcdir}/${pkgname}-v${pkgver}/
+  cmake -D CMAKE_INSTALL_PREFIX="/usr" .
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-v${pkgver}/
+  make DESTDIR=${pkgdir} install
+
+  _licdir=${pkgdir}/usr/share/licenses/${pkgname}
+  _tradir=${pkgdir}/usr/share/${pkgname}/translations
+  install -dpm755 ${_licdir} ${_tradir}
+  install -Dpm644 gpl-2.0.txt ${_licdir}/
+  install -Dpm644 *.qm ${_tradir}/
+}

Copied: diffpdf/repos/community-staging-x86_64/diffpdf.desktop (from rev 659327, diffpdf/trunk/diffpdf.desktop)
===================================================================
--- community-staging-x86_64/diffpdf.desktop	                        (rev 0)
+++ community-staging-x86_64/diffpdf.desktop	2020-07-07 16:37:14 UTC (rev 659329)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=DiffPDF
+Comment=DiffPDF is used to compare two PDF files
+Comment[es]=DiffPDF permite comparar dos archivos PDF
+Exec=diffpdf
+Icon=/usr/share/pixmaps/diffpdf.png
+Categories=Office;
+Encoding=UTF-8
+StartupNotify=true



More information about the arch-commits mailing list