summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c95f6c06e766fb34d05a516c2dbd29d9d822975 (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+216+g6411a90
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")
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
}