summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 14 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd01425dae2..97d71359cd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,33 @@
-# Maintainer: Philip Goto <philip.goto@gmail.com>
-# Co-Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
-
+# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
+# Contributor: Philip Goto <philip.goto@gmail.com>
pkgname=shortwave-git
-pkgver=1.0.1.r21.gf38f79b
+pkgver=1.0.1.r34.g5454d6e
pkgrel=1
pkgdesc="Find and listen to internet radio stations"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://gitlab.gnome.org/World/Shortwave"
license=('GPL3')
-depends=('gst-plugins-bad'
- 'libhandy')
-makedepends=('appstream-glib'
- 'git'
- 'gobject-introspection'
- 'libdazzle'
- 'meson'
- 'rust'
- 'xorgproto')
-provides=('shortwave')
-conflicts=('shortwave')
-source=('git+https://gitlab.gnome.org/World/Shortwave.git')
+depends=('gst-plugins-bad' 'libhandy')
+makedepends=('git' 'gobject-introspection' 'libdazzle' 'meson' 'rust' 'xorgproto')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("${pkgname%-git}::git+https://gitlab.gnome.org/World/Shortwave.git")
sha256sums=('SKIP')
pkgver() {
- cd Shortwave
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ cd "$srcdir/${pkgname%-git}"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- arch-meson Shortwave build
- ninja -C build
+ arch-meson "${pkgname%-git}" build
+ ninja -C build
}
check() {
- ninja -C build test
+ ninja -C build test
}
package() {
- DESTDIR="$pkgdir/" ninja -C build install
+ DESTDIR="$pkgdir/" ninja -C build install
}