[arch-commits] Commit in l3afpad/trunk (PKGBUILD l3afpad.appdata.xml)
Balló György
bgyorgy at archlinux.org
Sat Dec 29 18:57:17 UTC 2018
Date: Saturday, December 29, 2018 @ 18:57:17
Author: bgyorgy
Revision: 418904
upgpkg: l3afpad 0.8.18.1.11-4
Add AppStream metadata
Added:
l3afpad/trunk/l3afpad.appdata.xml
Modified:
l3afpad/trunk/PKGBUILD
---------------------+
PKGBUILD | 10 +++++++---
l3afpad.appdata.xml | 24 ++++++++++++++++++++++++
2 files changed, 31 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-29 17:55:24 UTC (rev 418903)
+++ PKGBUILD 2018-12-29 18:57:17 UTC (rev 418904)
@@ -4,7 +4,7 @@
pkgname=l3afpad
pkgver=0.8.18.1.11
-pkgrel=3
+pkgrel=4
pkgdesc="Simple plain text editor for GTK+ 3"
arch=('x86_64')
url="https://github.com/stevenhoneyman/l3afpad"
@@ -11,8 +11,10 @@
license=('GPL2')
depends=('gtk3')
makedepends=('intltool')
-source=(https://github.com/stevenhoneyman/l3afpad/archive/v$pkgver.tar.gz)
-md5sums=('2c209503116b53e732c37f8d8d4c40fd')
+source=($pkgname-$pkgver.tar.gz::https://github.com/stevenhoneyman/l3afpad/archive/v$pkgver.tar.gz
+ l3afpad.appdata.xml)
+sha256sums=('86f374b2f950b7c60dda50aa80a5034b8e3c80ded5cd3284c2d5921b31652793'
+ 'f6a49d9bbe4406ecfc1859592742af530e5f9ae29e590b7a164e729034304f03')
prepare() {
cd $pkgname-$pkgver
@@ -28,4 +30,6 @@
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
+ install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+ rm -r "$pkgdir/usr/share/pixmaps/"
}
Added: l3afpad.appdata.xml
===================================================================
--- l3afpad.appdata.xml (rev 0)
+++ l3afpad.appdata.xml 2018-12-29 18:57:17 UTC (rev 418904)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>com.github.l3afpad</id>
+ <launchable type="desktop-id">l3afpad.desktop</launchable>
+ <name>L3afpad</name>
+ <summary>Simple text editor</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0</project_license>
+ <description>
+ <p>
+ L3afpad is a simple GTK+ text editor that emphasizes simplicity. As development
+ focuses on keeping weight down to a minimum, only the most essential features
+ are implemented in the editor. L3afpad is simple to use, is easily compiled,
+ requires few libraries, and starts up quickly.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://cn.opendesktop.org/img/hive/content-pre1/144892-1.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="bugtracker">https://github.com/stevenhoneyman/l3afpad/issues</url>
+ <url type="homepage">https://github.com/stevenhoneyman/l3afpad</url>
+</component>
More information about the arch-commits
mailing list