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

Balló György bgyorgy at archlinux.org
Thu Dec 27 18:49:31 UTC 2018


    Date: Thursday, December 27, 2018 @ 18:49:31
  Author: bgyorgy
Revision: 418529

upgpkg: pinta 1.6-4

Add AppStream metadata

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

-------------------+
 PKGBUILD          |   14 +++++++-----
 pinta.appdata.xml |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-27 18:47:33 UTC (rev 418528)
+++ PKGBUILD	2018-12-27 18:49:31 UTC (rev 418529)
@@ -3,7 +3,7 @@
 
 pkgname=pinta
 pkgver=1.6
-pkgrel=3
+pkgrel=4
 pkgdesc="Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users"
 arch=('any')
 url="https://pinta-project.com/"
@@ -10,8 +10,10 @@
 license=('MIT')
 depends=('gtk-sharp-2' 'mono-addins')
 makedepends=('intltool')
-source=(https://github.com/PintaProject/Pinta/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('f1ea9e95f1051b92c8d8b6f622dfb77bd26254a165a836ec179aae10eb99d881')
+source=(https://github.com/PintaProject/Pinta/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+        pinta.appdata.xml)
+sha256sums=('f1ea9e95f1051b92c8d8b6f622dfb77bd26254a165a836ec179aae10eb99d881'
+            '37132612c9bf08b95cd3ce12ec8e3e5e76511d1e7e719d1ef5ad97e41bdd74b4')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -30,6 +32,8 @@
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
-  install -dm755 "$pkgdir"/usr/share/licenses/$pkgname
-  install -m644 license-*.txt readme.md "$pkgdir"/usr/share/licenses/$pkgname/
+
+  install -Dm644 ../pinta.appdata.xml "$pkgdir/usr/share/metainfo/pinta.appdata.xml"
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" license-*.txt readme.md
+  rm -r "$pkgdir/usr/share/pixmaps/"
 }

Added: pinta.appdata.xml
===================================================================
--- pinta.appdata.xml	                        (rev 0)
+++ pinta.appdata.xml	2018-12-27 18:49:31 UTC (rev 418529)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>pinta.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>MIT</project_license>
+  <name>Pinta</name>
+  <summary>Edit images and paint digitally</summary>
+  <description>
+    <p>
+      Pinta is a image editing, drawing and painting application with a simple
+      yet powerful interface.
+      Pinta has a wide range of drawing tools, including: freehand, rectangles,
+      circles and lines.
+      It also has over 35 effects to apply to your images, and also has the
+      ability to create unlimited layers to help organize your creativity.
+    </p>
+  </description>
+  <launchable type="desktop-id">pinta.desktop</launchable>
+  <categories>
+    <category>Graphics</category>
+    <category>2DGraphics</category>
+    <category>RasterGraphics</category>
+    <category>GTK</category>
+  </categories>
+  <keywords>
+    <keyword>draw</keyword>
+    <keyword>drawing</keyword>
+    <keyword>paint</keyword>
+    <keyword>painting</keyword>
+    <keyword>graphics</keyword>
+    <keyword>raster</keyword>
+    <keyword>2d</keyword>
+  </keywords>
+  <kudos>
+    <kudo>HiDpiIcon</kudo>
+    <kudo>HighContrast</kudo>
+    <kudo>UserDocs</kudo>
+  </kudos>
+  <screenshots>
+    <screenshot type="default">
+      <caption>Main window</caption>
+      <image>https://pinta-project.com/pintaproject/pinta/theme/images/ss1.jpg</image>
+    </screenshot>
+  </screenshots>
+  <developer_name>Jonathan Pobst</developer_name>
+  <url type="bugtracker">https://bugs.launchpad.net/pinta</url>
+  <url type="faq">https://communiroo.com/pintaproject/pinta/questions</url>
+  <url type="help">https://pinta-project.com/pintaproject/pinta/howto</url>
+  <url type="homepage">https://pinta-project.com</url>
+  <url type="translate">https://translations.launchpad.net/pinta</url>
+  <content_rating type="oars-1.0" />
+  <translation type="gettext">pinta</translation>
+  <provides>
+    <binary>pinta</binary>
+  </provides>
+  <releases>
+    <release version="1.6" date="2015-03-01"/>
+  </releases>
+</component>



More information about the arch-commits mailing list