summaryrefslogtreecommitdiff
path: root/libre/xarchiver/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/xarchiver/PKGBUILD')
-rw-r--r--libre/xarchiver/PKGBUILD20
1 files changed, 14 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"
}