summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1bfdbc09194677d639cc8a87179f3643b8049468 (plain)
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
pkgname=gnome-screenshot-git
_pkgname=gnome-screenshot
pkgver=3.34.0+14+g67ac52e
pkgrel=1
pkgdesc="Take pictures of your screen"
url="https://gitlab.gnome.org/GNOME/gnome-screenshot"
arch=(x86_64)
license=(GPL2)
depends=('gtk3' 'libcanberra')
makedepends=('git' 'meson' 'appstream-glib')
provides=('gnome-screenshot')
conflicts=('gnome-screenshot')
source=("git+https://gitlab.gnome.org/GNOME/gnome-screenshot.git")
sha512sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

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

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

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

# vim:set ts=2 sw=2 et: