1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgname=gnome-screenshot
5 pkgver=41.0+r25+g45f08f0
7 pkgdesc="Take pictures of your screen"
8 url="https://gitlab.gnome.org/GNOME/gnome-screenshot"
11 depends=(gtk3 libhandy)
12 makedepends=(git meson appstream-glib)
14 _commit=45f08f0b91a7b2aa589c9b3add671e144207e37a # master
15 source=("git+https://gitlab.gnome.org/GNOME/gnome-screenshot.git#commit=$_commit")
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
28 arch-meson $pkgname build
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"