# Maintainer: Natanael Copa pkgname=xarchiver pkgver=0.5.4.13 pkgrel=0 pkgdesc="GTK+ frontend to various command line archivers" url="https://github.com/ib/xarchiver" arch="all" license="GPL-2.0-or-later" depends="desktop-file-utils hicolor-icon-theme tar" makedepends="intltool gtk+2.0-dev libxslt" subpackages="$pkgname-doc $pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/ib/xarchiver/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --libexecdir=/usr/lib/xfce4 make } check() { cd "$builddir" ./src/xarchiver --help > /dev/null } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="ace6b3bade20f517c63a035022944d092868e4c000976ef388a3ee70ef8a28177ee20cfb089d0984e9274722c4ec13d129fd7a4ef542e7b5cd4423c26ad5b849 xarchiver-0.5.4.13.tar.gz"