summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9237190bc64261b6e7bebb3c826d35cd94b18558 (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
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>

pkgname=somafm
pkgver=1.2.9
pkgrel=1
pkgdesc='A simple radio with built-in stations from the website somafm.com'
url="https://github.com/alexkdeveloper/somafm"
license=('GPL-3.0-or-later')
arch=('x86_64' 'aarch64')
depends=('gstreamer' 'libadwaita' 'libpulse')
makedepends=('git' 'meson' 'vala')
checkdepends=('appstream-glib')
_commit=44bc0ca641cf0e668b43c7648771c11ea3ad1098
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')

build() {
  arch-meson somafm build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
  ln -s com.github.alexkdeveloper.somafm "$pkgdir/usr/bin/somafm"
}