summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a5219732efec49d8a5eb48f8ab4387b9da58562 (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
pkgname=gnome-sound-recorder-git
_pkgname=gnome-sound-recorder
pkgver=3.34.0+99+gf45ae48
pkgrel=1
pkgdesc="A utility to make simple audio recording from your GNOME desktop"
url="https://wiki.gnome.org/Apps/SoundRecorder"
arch=(any)
license=(GPL2)
depends=('gtk3' 'gjs' 'gst-plugins-good' 'gst-plugins-base' 'libhandy')
makedepends=('gobject-introspection' 'git' 'meson')
provides=('gnome-sound-recorder')
conflicts=('gnome-sound-recorder')
source=("git+https://gitlab.gnome.org/GNOME/gnome-sound-recorder.git#commit=$_commit")
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
}