summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8309607f09943858ad0fbb58c77e09003e22015b (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.3.0
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=('b322a5253632317d0fbc6ca8b6a6c6b83f781318429f7d31f12e13e44aa05665')

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/"
}