makedeb
Lightweight, Python library and cli for downloading YouTube videos, fork of pytube.
Viewing /update
.
Click here to go back to the Git tree for python3-pytubefix.
#!/bin/sh
version="$(wget -o /dev/null -O- https://github.com/JuanBindez/pytubefix/releases | grep -m 1 Released | sed 's/.*Pytubefix //' |cut -d ' ' -f 1)"
echo "$version"
sed -i "s!pkgver=.*!pkgver=\"$version\"!" PKGBUILD
hash="$(makedeb -g 2> /dev/null)"
echo "$hash"
sed -i "s!b2sums=.*!$hash!" PKGBUILD