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

Balló György bgyorgy at archlinux.org
Sat Jun 22 05:56:18 UTC 2019


    Date: Saturday, June 22, 2019 @ 05:56:18
  Author: bgyorgy
Revision: 482645

upgpkg: giggle 0.7-10

Adopt the package, add appstream metadata

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

--------------------+
 PKGBUILD           |   20 ++++++++++----------
 giggle.appdata.xml |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-22 05:01:21 UTC (rev 482644)
+++ PKGBUILD	2019-06-22 05:56:18 UTC (rev 482645)
@@ -1,4 +1,4 @@
-# Maintainer:
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
 # Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 # Contributor: neodreams <yanbrodeur at gmail.com>
@@ -5,7 +5,7 @@
 
 pkgname=giggle
 pkgver=0.7
-pkgrel=9
+pkgrel=10
 pkgdesc='Git repository viewer'
 arch=(x86_64)
 url='https://wiki.gnome.org/Apps/giggle'
@@ -12,16 +12,17 @@
 license=(GPL)
 depends=(git gtksourceview3 vte3)
 makedepends=(intltool itstool gnome-common yelp-tools)
-source=("https://ftp.gnome.org/pub/GNOME/sources/giggle/$pkgver/$pkgname-$pkgver.tar.xz"
+source=("https://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"
+        giggle.appdata.xml
         gtksourceview3.7.patch
         vte2.91.patch)
 sha256sums=('ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59'
+            '52bc930fe0e981bc14722b842cf2a57e645509853a642692d73f14462b3522be'
             'a29cc899d17645d43a39ac94551c4af896f67983c40fab3bfc585881217f30df'
             'eec654cd3ec31144461cbfc01f4c0b6690e0cdd1b08e057cd5afe99acc17dfed')
 
 prepare() {
   cd $pkgname-$pkgver
-
   patch -Np1 -i ../gtksourceview3.7.patch
   patch -Np1 -i ../vte2.91.patch
   NOCONFIGURE=1 AUTOPOINT=intltoolize gnome-autogen.sh
@@ -29,7 +30,6 @@
 
 build() {
   cd $pkgname-$pkgver
-
   ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -36,12 +36,12 @@
 }
 
 check() {
-  make -C $pkgname-$pkgver DESTDIR="$pkgdir" check
+  cd $pkgname-$pkgver
+  make -k check
 }
 
 package() {
-  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../giggle.appdata.xml "$pkgdir/usr/share/metainfo/giggle.appdata.xml"
 }
-
-# getver: -u 7 git.gnome.org/browse/giggle/plain/NEWS
-# vim:set ts=2 sw=2 et:

Added: giggle.appdata.xml
===================================================================
--- giggle.appdata.xml	                        (rev 0)
+++ giggle.appdata.xml	2019-06-22 05:56:18 UTC (rev 482645)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+  <id>org.gnome.Giggle.desktop</id>
+  <launchable type="desktop-id">giggle.desktop</launchable>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>Giggle</name>
+  <summary>Git repository viewer</summary>
+  <description>
+    <p>
+      Giggle is a graphical frontend for the git directory tracker.
+    </p>
+    <p>
+      It currently features a history viewer much like gitk and a commit GUI like git gui.
+    </p>
+  </description>
+  <screenshots>
+    <screenshot type="default" height="742" width="1034">
+      <image>https://wiki.gnome.org/Apps/giggle?action=AttachFile&do=get&target=giggle-history.png</image>
+      <caption>Giggle history view</caption>
+    </screenshot>
+  </screenshots>
+  <url type="homepage">https://wiki.gnome.org/Apps/giggle</url>
+  <update_contact>jjardon_at_gnome.org</update_contact>
+  <project_group>GNOME</project_group>
+  <developer_name>The GNOME Project</developer_name>
+  <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=giggle</url>
+  <url type="donation">https://www.gnome.org/friends/</url>
+  <url type="help">https://wiki.gnome.org/Apps/giggle/</url>
+  <kudos>
+    <kudo>HiDpiIcon</kudo>
+    <kudo>ModernToolkit</kudo>
+    <kudo>UserDocs</kudo>
+  </kudos>
+  <translation type="gettext">giggle</translation>
+
+  <url type="translate">https://wiki.gnome.org/TranslationProject</url>
+</component>



More information about the arch-commits mailing list