# Maintainer: Sam Burgos # Contributor: Jonathon Fernyhough # Contributor: Leo # Contributor: Luna Jernberg pkgname=hypnotix pkgver=3.6 pkgrel=1 pkgdesc="An IPTV streaming application with support for live TV, movies and series." arch=('any') url="https://github.com/linuxmint/hypnotix" license=('GPL3') depends=('dconf' 'hicolor-icon-theme' 'mpv' 'python-cairo' 'python-gobject' 'python-cinemagoer' 'python-requests' 'python-setproctitle' 'python-unidecode' 'xapp') optdepends=('yt-dlp: YouTube channel support') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") sha256sums=('726c05d6537205d8f18449e17816100a1bc75341ae086a63784b9cc09769ae82') prepare() { cd "$pkgname-$pkgver" # Set version in About dialog sed -i "s/__DEB_VERSION__/${pkgver//+*/}/g" "usr/lib/$pkgname/$pkgname.py" # Fix license path sed -i 's|common-licenses/GPL|licenses/common/GPL/license.txt|g' \ "usr/lib/$pkgname/$pkgname.py" } build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" cp -r usr/ "$pkgdir/" }