blob: b3ffb06805c6bccf34966df171bf4d043316550d (
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
|
# Maintainer: Philip J. Repko <philipjrepko@gmail.com>
pkgname=sqlch-suite
pkgver=2.0.0
pkgrel=1
pkgdesc="Terminal-based internet radio suite with TUI, tray, and controller"
arch=('any')
url="https://github.com/SW-philip/sqlch-suite"
license=('MIT')
depends=('bash' 'mpv' 'gtk3' 'python' 'python-gobject' 'libayatana-appindicator' 'hicolor-icon-theme')
optdepends=(
'gum: TUI interface in sqlchknob'
'jq: JSON parsing for radio-browser search'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/SW-philip/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('458cff80239f117b5aa2c50989bda9d4744f5a70491bd074338ab1224e6852b2')
package() {
cd "$srcdir"
# Install executables
install -Dm755 sqlchctl "$pkgdir/usr/bin/sqlchctl"
install -Dm755 sqlchknob "$pkgdir/usr/bin/sqlchknob"
install -Dm755 sqlchtray "$pkgdir/usr/bin/sqlchtray"
# Optional icon (if included)
install -Dm644 sqrlch_icon.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/sqlch.png"
# Default config files (for skel-based setup)
install -Dm644 stations.default "$pkgdir/etc/skel/.config/sqlch/stations"
install -Dm644 channels.default "$pkgdir/etc/skel/.config/sqlch/channels"
# License
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|