summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f10a92915eba1b1bf80f61acc7e90ffbf633920d (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
# Maintainer: SteamedFish <steamedfish@hotmail.com>

pkgname=redsea
pkgver=1.1.1
pkgrel=1
pkgdesc="RDS decoder for the command line "
arch=(x86_64 aarch64)
url="https://github.com/windytan/redsea"
license=(MIT)
depends=('glibc' 'gcc-libs' 'libsndfile' 'liquid-dsp' 'nlohmann-json')
makedepends=('meson' 'catch2')
source=(
  "$pkgname-$pkgver.tar.gz"::https://github.com/windytan/$pkgname/archive/refs/tags/v$pkgver.tar.gz
)
sha256sums=('495ca1ea0e5b338d45ebf5c6591b4f2fbbe7764edc80f62b62d88d606811de7c')

build() {
  cd $pkgname-$pkgver
  meson setup --prefix /usr build
  meson compile -C build
}

package() {
  cd $pkgname-$pkgver
  DESTDIR=$pkgdir meson install -C build

  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}