-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
30 lines (25 loc) · 1.05 KB
/
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 'mkchromecast'
pkgname=mkchromecast
version=0.3.8.1
revision=7
pycompile_dirs="/usr/share/mkchromecast/mkchromecast"
depends="python3-Flask python3-netifaces python3-setuptools python3-requests
python3-mutagen python3-psutil python3-PyQt5 python3-SoCo python3-chromecast
python3-gobject python3-youtube-dl ffmpeg"
short_desc="Cast Linux Audio/Video to Google cast and Sonos devices"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://mkchromecast.com/"
distfiles="https://github.com/muammar/mkchromecast/archive/${version}.tar.gz"
checksum=c680a398385d95d51c47eb522b95cf98f932b55caf065ab8b5725e78bf0099b2
python_version=3
do_install() {
vmkdir usr/bin
ln -s /usr/share/mkchromecast/mkchromecast.py "$DESTDIR"/usr/bin/mkchromecast
vinstall mkchromecast.py 755 usr/share/mkchromecast
vman man/mkchromecast.1
cp -a --parents images/google* mkchromecast "$DESTDIR"/usr/share/mkchromecast
vinstall mkchromecast.desktop 644 usr/share/applications
vinstall images/mkchromecast.xpm 644 usr/share/pixmaps
vlicense LICENSE
}