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

Balló György bgyorgy at archlinux.org
Sat Dec 29 11:00:09 UTC 2018


    Date: Saturday, December 29, 2018 @ 11:00:08
  Author: bgyorgy
Revision: 418833

upgpkg: sk1 1:2.0rc3-3

Add AppStream metadata

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

-----------------+
 PKGBUILD        |   11 ++++++++---
 sk1.appdata.xml |   31 +++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-29 10:39:13 UTC (rev 418832)
+++ PKGBUILD	2018-12-29 11:00:08 UTC (rev 418833)
@@ -4,7 +4,7 @@
 
 pkgname=sk1
 pkgver=2.0rc3
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc="Professional quality illustration program"
 arch=(x86_64)
@@ -11,8 +11,10 @@
 url="https://sk1project.net/"
 depends=('lcms2' 'libmagick' 'python2-cairo' 'python2-pillow' 'python2-pycups' 'python2-reportlab' 'python2-wxpython3')
 license=('GPL3')
-source=("https://downloads.sk1project.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('f3cdba5c764ddc1d4f6052ebce734c77c4c9dff9b5af702f37c8875b57440493ccfffb1ed100c35eda3c16eb5011997d0e42263713f5d1ec6cce32dcfafe4083')
+source=("https://downloads.sk1project.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
+        sk1.appdata.xml)
+sha256sums=('d3b94131794d42d7c80c678e11a28a8e6a50401af4a35e42ed534d02b14abdff'
+            'a42a6fd243f3866f03210b4d31c66451ff55b70948b52d7e656f3ca4447a675c')
 
 build() {
   cd $pkgname-$pkgver
@@ -23,4 +25,7 @@
   cd $pkgname-$pkgver
   python2 setup-sk1.py install --root="$pkgdir" --optimize=1
   find "$pkgdir"/usr/{lib,share} -type f | xargs chmod 644
+  install -Dm644 src/sk1.png "$pkgdir/usr/share/icons/hicolor/64x64/apps/sk1.png"
+  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+  rm -r "$pkgdir"/usr/share/pixmaps
 }

Added: sk1.appdata.xml
===================================================================
--- sk1.appdata.xml	                        (rev 0)
+++ sk1.appdata.xml	2018-12-29 11:00:08 UTC (rev 418833)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>net.sk1project.sk1</id>
+  <launchable type="desktop-id">sk1.desktop</launchable>
+  <name>sK1</name>
+  <summary>Create and edit multipage documents for prepress</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-3.0</project_license>
+  <description>
+    <p>sK1 2.0 is professional quality illustration program. sK1 2.0 is a powerful and mature application that makes users more productive and provides them professional and free solution even for exotic *nix OSes. Whether you are a newbie user or an experienced designer, sK1 2.0 makes it easy to get started. With its professional color-management engine and wide-range file format compatibility, sK1 2.0 provides color accuracy and drawing flexibility you need for all types of projects.</p>
+  </description>
+  <screenshots>
+    <screenshot>
+      <image>https://sk1project.net/content/sk1/screenshots/sk1_2_0_01ubuntu.png</image>
+    </screenshot>
+    <screenshot type="default">
+      <image>https://sk1project.net/content/sk1/screenshots/sk1_2_0_02ubuntu.png</image>
+    </screenshot>
+    <screenshot>
+      <image>https://sk1project.net/content/sk1/screenshots/sk1_2_0_03ubuntu.png</image>
+    </screenshot>
+    <screenshot>
+      <image>https://sk1project.net/content/sk1/screenshots/sk1_2_0_04ubuntu.png</image>
+    </screenshot>
+    <screenshot>
+      <image>https://sk1project.net/content/sk1/screenshots/sk1_2_0_05ubuntu.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://github.com/sk1project/sk1-wx/issues</url>
+  <url type="homepage">https://sk1project.net/</url>
+</component>



More information about the arch-commits mailing list