# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=file-roller pkgver=43.0 pkgrel=3 pkgdesc="File Roller is an archive manager for the GNOME desktop " url="https://wiki.gnome.org/Apps/FileRoller" # s390x blocked by mozjs91 -> nautilus-dev arch="all !s390x" license="GPL-2.0-or-later" depends="cpio" depends_doc="yelp" makedepends=" desktop-file-utils glib-dev gtk+3.0-dev itstool json-glib-dev libarchive-dev libhandy1-dev libnotify-dev libportal-dev meson nautilus-dev " subpackages="$pkgname-lang $pkgname-doc $pkgname-nautilus" source="https://download.gnome.org/sources/file-roller/${pkgver%.*}/file-roller-$pkgver.tar.xz" build() { abuild-meson \ -Db_lto=true \ -Dpackagekit=false \ -Dcpio=/usr/bin/cpio \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } nautilus() { pkgdesc="File Roller nautilus extension" install_if="$pkgname=$pkgver-r$pkgrel nautilus", amove usr/lib/nautilus/extensions-4/libnautilus-fileroller.so } sha512sums=" dff3d9ef5c96e5957fb4ca146072b5fdf0309299d0b1a4ab6db55e24a0652b52ba45915121db4d59d9b1ab60b4c3c64bbb56799a46a0eac5609236f4e1251837 file-roller-43.0.tar.xz "