[arch-commits] Commit in pdfmod/trunk (PKGBUILD pdfmod.appdata.xml)

Balló György bgyorgy at archlinux.org
Fri Dec 28 12:44:11 UTC 2018


    Date: Friday, December 28, 2018 @ 12:44:05
  Author: bgyorgy
Revision: 418634

upgpkg: pdfmod 0.9.1-10

Add AppStream metadata

Added:
  pdfmod/trunk/pdfmod.appdata.xml
Modified:
  pdfmod/trunk/PKGBUILD

--------------------+
 PKGBUILD           |    5 ++++-
 pdfmod.appdata.xml |   21 +++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-28 12:31:21 UTC (rev 418633)
+++ PKGBUILD	2018-12-28 12:44:05 UTC (rev 418634)
@@ -3,7 +3,7 @@
 
 pkgname=pdfmod
 pkgver=0.9.1
-pkgrel=9
+pkgrel=10
 pkgdesc="Simple application for modifying PDF written in C Sharp"
 arch=('any')
 url="https://wiki.gnome.org/Apps/PdfMod"
@@ -11,11 +11,13 @@
 depends=('gtk-sharp-2' 'poppler-glib')
 makedepends=('hyena' 'poppler-sharp' 'intltool' 'gnome-doc-utils' 'dos2unix')
 source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        pdfmod.appdata.xml
         pdfmod-mono-2.10.patch
         fix-build.patch
         Drop-gconf-dependency.patch
         LICENSE-PDFsharp)
 sha256sums=('eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9'
+            'fb27471552fedf3d79dd1e13c49a8efb94515486b7db7370981171d3e8972c36'
             'f606f29f881f7171b43fed97aab58c1e1f5b78aa96e33d1c43e2526736651acd'
             'd2ef10804b87ad843d0897cc784c95b6700583896fab95dd0646f5c79fdd0413'
             '6a235f93ce7321cbe2e7f20094ece0659fb4648602e84a4824a0fb527be90914'
@@ -53,5 +55,6 @@
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir/" install
+  install -Dm644 ../pdfmod.appdata.xml "$pkgdir/usr/share/metainfo/pdfmod.appdata.xml"
   install -Dm644 "$srcdir/LICENSE-PDFsharp" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-PDFsharp"
 }

Added: pdfmod.appdata.xml
===================================================================
--- pdfmod.appdata.xml	                        (rev 0)
+++ pdfmod.appdata.xml	2018-12-28 12:44:05 UTC (rev 418634)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>org.gnome.pdfmod</id>
+  <launchable type="desktop-id">pdfmod.desktop</launchable>
+  <name>PDF Mod</name>
+  <summary>Remove, extract, and rotate pages in PDF documents</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0</project_license>
+  <description>
+    <p>PDFMod is a graphical utility that allows you to split, merge and delete pages of a PDF document. You simply open a document up in PDFMod, and each page is shown in the interface, then you can delete individual pages, move the pages around (i.e. reorder them), import additional PDF documents, even rotate individual pages in your PDF.</p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://wiki.gnome.org/Apps/PdfMod?action=AttachFile&do=get&target=pdfmod-0.9.1.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://gitlab.gnome.org/Archive/pdfmod/issues</url>
+  <url type="homepage">https://wiki.gnome.org/Apps/PdfMod</url>
+  <update_contact>pdfmod-list at gnome.org</update_contact>
+  <translation type="gettext">pdfmod</translation>
+</component>



More information about the arch-commits mailing list