-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
30 lines (28 loc) · 1007 Bytes
/
template
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
# Template file for 'pyradio'
pkgname=pyradio
version=0.9.2.20
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-requests python3-dnspython python3-psutil python3-rich
python3-dateutil python3-netifaces"
short_desc="Curses based internet radio player"
maintainer="chrysos349 <chrysostom349@gmail.com>"
license="MIT"
homepage="https://www.coderholic.com/pyradio/"
changelog="https://raw.githubusercontent.com/coderholic/pyradio/master/Changelog"
distfiles="https://github.com/coderholic/pyradio/archive/${version}.tar.gz"
checksum=af9066069bd6f2467e8d66812ead72acbf6e3e5bacc1ce07ba47a59af13598c9
make_check=no # pytest reports "no tests ran"
post_patch() {
vsed -e 's/distro = None/distro = Void Linux/' -i pyradio/config
}
post_install() {
for m in docs/*.1; do
vman $m
done
vlicense LICENSE
vinstall devel/pyradio.desktop 644 /usr/share/applications
vinstall devel/pyradio.png 644 /usr/share/icons/hicolor/512x512/apps
vdoc "${FILESDIR}/README.voidlinux"
}