# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-sound-recorder pkgver=3.32.1 pkgrel=0 pkgdesc="A simple and modern sound recorder" url="https://wiki.gnome.org/Apps/SoundRecorder" arch="all" license="GPL-2.0-or-later" makedepends="gjs-dev glib-dev gtk+3.0-dev gobject-introspection-dev meson" subpackages="$pkgname-lang" source="https://download.gnome.org/sources/gnome-sound-recorder/${pkgver%.*}/gnome-sound-recorder-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="35a87e770eb033171b055209a704477f88acad22c49df294c81a3f6aa4152e86dc99f65cd5570c6064c25cbce9634e5dc9f2aa18da1f32914e15e705c2486f07 gnome-sound-recorder-3.32.1.tar.xz"