summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Majewski2020-06-02 23:15:48 +0200
committerKevin Majewski2020-06-02 23:15:48 +0200
commit285009fd9dec60d4515ccd0bdc3530247240b3b7 (patch)
tree791a14f4321315d7b99c03e10ea5195dc18b1894
downloadaur-285009fd9dec60d4515ccd0bdc3530247240b3b7.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD32
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2284e60f2b1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = gnome-sound-recorder-git
+ pkgdesc = A utility to make simple audio recording from your GNOME desktop
+ pkgver = 3.34.0+99+gf45ae48
+ pkgrel = 1
+ url = https://wiki.gnome.org/Apps/SoundRecorder
+ arch = any
+ license = GPL2
+ makedepends = gobject-introspection
+ makedepends = git
+ makedepends = meson
+ depends = gtk3
+ depends = gjs
+ depends = gst-plugins-good
+ depends = gst-plugins-base
+ depends = libhandy
+ provides = gnome-sound-recorder
+ conflicts = gnome-sound-recorder
+ source = git+https://gitlab.gnome.org/GNOME/gnome-sound-recorder.git#commit=
+ sha512sums = SKIP
+
+pkgname = gnome-sound-recorder-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3a5219732ef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}