blob: ca6eb5536b283a14a5e5ab774607c4ca3a9a94be (
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
|
# Maintainer: Yugami
# Contributor: yukichan
pkgname=yuki-iptv-git
pkgver=r1821.085dc31
pkgrel=1
pkgdesc="IPTV player with EPG support"
arch=('any')
url="https://codeberg.org/liya/yuki-iptv"
license=('GPL3')
depends=('python' 'qt6-base' 'mpv' 'python-pyqt6' 'python-wand' 'python-gobject' 'python-unidecode' 'python-requests' 'python-chardet' 'python-setproctitle' 'ffmpeg')
optdepends=('yt-dlp: YouTube channel support')
makedepends=('make' 'git')
provides=('yuki-iptv')
conflicts=('yuki-iptv')
source=("git+${url}.git")
b2sums=('SKIP')
pkgver() {
cd ${pkgname/-git}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${pkgname/-git}
sed -i "s/__DEB_VERSION__/${pkgver}/g" usr/lib/yuki-iptv/yuki-iptv.py
make
}
package() {
cd ${pkgname/-git}
cp -r usr/ "$pkgdir/"
}
|