# Maintainer: Bendik Aagaard Lynghaug <bendik.lynghaug@gmail.com>
pkgname=stems
pkgver=0.1.0
pkgrel=1
pkgdesc="Multitrack PipeWire recorder: every source feeding the default sink becomes an aligned WAV stem"
arch=('x86_64' 'aarch64')
options=('!strip')
url="https://project.uhhm.no/bl/stems"
license=('MIT')
depends=('libpipewire')
provides=('stems')
conflicts=('stems-git' 'stems-bin')
source_x86_64=("stems-v${pkgver}-x86_64.tar.gz::https://project.uhhm.no/bl/stems/releases/download/v${pkgver}/stems-v${pkgver}-x86_64.tar.gz")
source_aarch64=("stems-v${pkgver}-aarch64.tar.gz::https://project.uhhm.no/bl/stems/releases/download/v${pkgver}/stems-v${pkgver}-aarch64.tar.gz")
sha256sums_x86_64=('SKIP')
sha256sums_aarch64=('SKIP')

package() {
    install -Dm755 stems "$pkgdir/usr/bin/stems"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
