summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5598ec2f36aeab64fdf549d5997f071d0a0c9e57 (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: fatalis <fatalis@fatalis.pw>
# Contributor: Vaporeon <vaporeon@vaporeon.io>
pkgname=scream
pkgver=4.0
pkgrel=2
pkgdesc='A Scream audio receiver using Pulseaudio, ALSA, JACK or stdout as audio output'
arch=('x86_64')
provides=('scream')
depends=('alsa-lib' 'glibc' 'jack' 'libpcap' 'libpulse' 'libsoxr')
makedepends=('cmake' 'ninja')
conflicts=('scream' 'scream-pulse' 'scream-alsa')
url='https://github.com/duncanthrax/scream'
license=('MS-PL')
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('02f5ca22738bdf66ee9539b183f315508877db7ab9712633f70b2cf951e5c591')

build() {
  cmake -S ${pkgname}-${pkgver}/Receivers/unix -B build -G Ninja \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"

  cmake --build build
}

package() {
  cmake --install build
  install -Dm644 ${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}