summaryrefslogtreecommitdiff
path: root/libre/xarchiver
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2019-04-27 14:10:09 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2019-04-27 14:10:09 -0500
commitca2ab218f794dad66a590901baccd9f16f929497 (patch)
tree39a8a7ded783df378ee382645d08cf2305bedce7 /libre/xarchiver
parent3832ade33c4fc708374f02870cbc7b2350a8f3d8 (diff)
downloadabslibre-ca2ab218f794dad66a590901baccd9f16f929497.tar.gz
abslibre-ca2ab218f794dad66a590901baccd9f16f929497.tar.bz2
abslibre-ca2ab218f794dad66a590901baccd9f16f929497.zip
xarchiver-0.5.4.14-1.par1: updating version
Diffstat (limited to 'libre/xarchiver')
-rw-r--r--libre/xarchiver/PKGBUILD20
-rw-r--r--libre/xarchiver/xarchiver.appdata.xml19
2 files changed, 33 insertions, 6 deletions
diff --git a/libre/xarchiver/PKGBUILD b/libre/xarchiver/PKGBUILD
index c565f18b1..6045bfc4e 100644
--- a/libre/xarchiver/PKGBUILD
+++ b/libre/xarchiver/PKGBUILD
@@ -6,10 +6,13 @@
pkgbase=xarchiver
pkgname=(xarchiver xarchiver-gtk2)
-pkgver=0.5.4.13
-pkgrel=1.parabola1
-pkgdesc="GTK+ frontend to various command line archivers, without nonfree unrar support"
-arch=('i686' 'x86_64' 'armv7h')
+pkgver=0.5.4.14
+pkgrel=1
+pkgrel+=.par1
+pkgdesc="GTK+ frontend to various command line archivers"
+pkgdesc+=", without nonfree unrar support"
+arch=('x86_64')
+arch+=('i686' 'armv7h')
url="https://github.com/ib/xarchiver"
license=('GPL')
depends=('gtk2' 'gtk3')
@@ -32,9 +35,11 @@ optdepends=('arj: ARJ support'
'zip: ZIP support'
'zstd: zstd support')
source=($pkgbase-$pkgver.tar.gz::https://github.com/ib/xarchiver/archive/$pkgver.tar.gz
+ xarchiver.appdata.xml
libre.patch)
-sha256sums=('617154435731554b793ab00cc373d957c066dc29444c6189029299a89430776c'
- 'b0b1c728bca6ad485495edf6dd35d1375deed4364a81a2ef1d0cf9a0422ee248')
+sha256sums=('335bed86e10a1428d54196edf5c828e79ceed05049e83896114aa46f0a950a2f'
+ '55f41aa0e5569b446933a34ac0585443fa5bd92f03f47e1fd53daf19905cc97e'
+ '5a43941cfe10f37f62c56c592a04bd2eec7f2cca2ba1ce6d99312980c0c62aa6')
prepare() {
cd $pkgbase-$pkgver
@@ -67,6 +72,7 @@ package_xarchiver() {
cd gtk3
make DESTDIR="$pkgdir" install
+ install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
}
package_xarchiver-gtk2() {
@@ -76,4 +82,6 @@ package_xarchiver-gtk2() {
cd gtk2
make DESTDIR="$pkgdir" install
+ # Ignore package by AppStream to avoid duplicated IDs
+ echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/xarchiver.desktop"
}
diff --git a/libre/xarchiver/xarchiver.appdata.xml b/libre/xarchiver/xarchiver.appdata.xml
new file mode 100644
index 000000000..1562889a6
--- /dev/null
+++ b/libre/xarchiver/xarchiver.appdata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>com.github.xarchiver</id>
+ <launchable type="desktop-id">xarchiver.desktop</launchable>
+ <name>Xarchiver</name>
+ <summary>A GTK+ only archive manager</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0</project_license>
+ <description>
+ <p>Xarchiver is a lightweight desktop independent GTK+ frontend for manipulating xz, 7z, lzma, arj, bzip2, gzip, rar, tar, zip, rpm, lz4, compress, zstd, lzip, lrzip, lzop, lha and deb files. It allows you to create archives and add, extract, and delete files from them. Password protected archives in the arj, 7z, rar, zip and lrzip formats are supported.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>http://xarchiver.sourceforge.net/screenshots/main_window.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="bugtracker">https://github.com/ib/xarchiver/issues</url>
+ <url type="homepage">https://github.com/ib/xarchiver</url>
+</component>