# Maintainer: Philip Goto # Contributor: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot pkgname=file-roller-git pkgver=3.36.2.r2.gfc6bbed2 pkgrel=1 pkgdesc="Create and modify archives" url="https://wiki.gnome.org/Apps/FileRoller" arch=(i686 x86_64 armv7h aarch64) license=(GPL) depends=(gtk3 libarchive file libnotify zip unzip) makedepends=(yelp-tools git libnautilus-extension meson appstream-glib) optdepends=('p7zip: 7z, arj, exe and encrypted zip files support' 'unrar: better RAR archive support' 'unace: ACE archive support' 'lrzip: lrzip archive support' 'squashfs-tools: squashfs image support') conflicts=(file-roller) provides=(file-roller) groups=(gnome) source=("git+https://gitlab.gnome.org/GNOME/file-roller.git") sha256sums=('SKIP') pkgver() { cd file-roller git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { arch-meson file-roller build ninja -C build } check() { meson test -C build --print-errorlogs } package() { DESTDIR="$pkgdir" meson install -C build }