summaryrefslogtreecommitdiffstats
path: root/file-roller-gtk3/PKGBUILD
blob: f63e4d9c807ed7430a15c1b182941d8b93f22dc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pkgname=file-roller-gtk3
_pkgname=file-roller
pkgver=43.0
pkgrel=1
pkgdesc="Create and modify archives (last stable GTK3 release)"
url="https://wiki.gnome.org/Apps/FileRoller"
arch=(x86_64)
license=(GPL)
conflicts=('file-roller')
provides=('file-roller')
depends=(libhandy dconf libarchive file json-glib libportal-gtk3 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')
groups=(gnome)
options=(debug)
_commit=6d57d9962efb976aa3036db965f558b96575289c  # tags/43.0^0
source=("git+https://gitlab.gnome.org/GNOME/file-roller.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}

prepare() {
  cd $_pkgname
}

build() {
  arch-meson $_pkgname build
  meson compile -C build
}

# check() {
#   meson test -C build --print-errorlogs
# }

package() {
  meson install -C build --destdir "$pkgdir"
}

# vim:set sw=2 sts=-1 et: