summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ea63e5e54f7b3f235715d2e43ec5471750650f5 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: E.A.Davison <eadavison at protonmail dot com>

pkgname=ctune-git
pkgver=v1.3.2
pkgrel=0
pkgdesc="NCurses internet radio player for Linux."
arch=('x86_64' 'aarch64')
url="https://github.com/An7ar35/ctune"

depends=('ncurses'
         'openssl'
         'curl'
         'ffmpeg'
         'alsa-lib'
         'libbsd')

makedepends=('make'
             'cmake'
             'git'
             'pandoc')

optdepends=('pulseaudio: for PulseAudio plugin support'
            'pipewire-pulse: for using the pulseaudio plugin on Pipewire'
            'pipewire: for PipeWire plugin support'
            'sdl2: for SDL2 output plugin support'
            'sndio: for SNDIO output plugin support'
            'vlc: for VLC player plugin support')

conflicts=('ctune')
provides=('ctune')
license=('AGPL3')
source=(git+https://github.com/An7ar35/ctune.git#tag=v1.3.2)
sha512sums=('SKIP')

build() {
    cmake -B ctune_build -S "ctune" \
          -DCMAKE_BUILD_TYPE='RelWithDebInfo' \
          -DCMAKE_INSTALL_PREFIX='/usr' \
          -Wno-dev
    cmake --build ctune_build
}

package() {
    DESTDIR="$pkgdir" cmake --install ctune_build
}