[arch-commits] Commit in xarchiver/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:17:01 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:17:00
  Author: felixonmars
Revision: 659642

archrelease: copy trunk to community-staging-x86_64

Added:
  xarchiver/repos/community-staging-x86_64/
  xarchiver/repos/community-staging-x86_64/PKGBUILD
    (from rev 659641, xarchiver/trunk/PKGBUILD)
  xarchiver/repos/community-staging-x86_64/xarchiver.appdata.xml
    (from rev 659641, xarchiver/trunk/xarchiver.appdata.xml)

-----------------------+
 PKGBUILD              |   71 ++++++++++++++++++++++++++++++++++++++++++++++++
 xarchiver.appdata.xml |   19 ++++++++++++
 2 files changed, 90 insertions(+)

Copied: xarchiver/repos/community-staging-x86_64/PKGBUILD (from rev 659641, xarchiver/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:17:00 UTC (rev 659642)
@@ -0,0 +1,71 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
+
+pkgbase=xarchiver
+pkgname=(xarchiver xarchiver-gtk2)
+pkgver=0.5.4.14
+pkgrel=2
+pkgdesc="GTK+ frontend to various command line archivers"
+arch=('x86_64')
+url="https://github.com/ib/xarchiver"
+license=('GPL')
+depends=('gtk2' 'gtk3')
+makedepends=('docbook-xsl' 'intltool' 'xmlto')
+optdepends=('arj: ARJ support'
+            'binutils: deb support'
+            'bzip2: bzip2 support'
+            'cpio: RPM support'
+            'gzip: gzip support'
+            'lha: LHA support'
+            'lrzip: lrzip support'
+            'lz4: LZ4 support'
+            'lzip: lzip support'
+            'lzop: LZOP support'
+            'p7zip: 7z support'
+            'tar: tar support'
+            'unarj: ARJ support'
+            'unrar: RAR support'
+            'unzip: ZIP support'
+            'xz: xz support'
+            'zip: ZIP support'
+            'zstd: zstd support')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/ib/xarchiver/archive/$pkgver.tar.gz
+        xarchiver.appdata.xml)
+sha256sums=('335bed86e10a1428d54196edf5c828e79ceed05049e83896114aa46f0a950a2f'
+            '55f41aa0e5569b446933a34ac0585443fa5bd92f03f47e1fd53daf19905cc97e')
+
+build() {
+  # GTK+ 3 version
+  [ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3
+  cd gtk3
+  ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4
+  make -j1
+
+  cd "$srcdir"
+  # GTK+ 2 version
+  [ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2
+  cd gtk2
+  ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4 --enable-gtk2
+  make -j1
+}
+
+package_xarchiver() {
+  depends=('gtk3')
+
+  cd gtk3
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+}
+
+package_xarchiver-gtk2() {
+  pkgdesc+=' (GTK+ 2 version)'
+  depends=('gtk2')
+  conflicts=('xarchiver')
+
+  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"
+}

Copied: xarchiver/repos/community-staging-x86_64/xarchiver.appdata.xml (from rev 659641, xarchiver/trunk/xarchiver.appdata.xml)
===================================================================
--- community-staging-x86_64/xarchiver.appdata.xml	                        (rev 0)
+++ community-staging-x86_64/xarchiver.appdata.xml	2020-07-07 17:17:00 UTC (rev 659642)
@@ -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>


More information about the arch-commits mailing list