makedeb
Python script for watching movies and TV shows via the terminal.
Click here to go back to the commit logs for mov-cli-git.
Hash: dcc1e7ffcff51e7c00bb077b846bbf664c6460ad
Message: prioritizing python version
diff --git a/.SRCINFO b/.SRCINFO
index 5ede70b..cf04645 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
generated-by = makedeb
+pkgname = mov-cli-git
pkgname = mov-cli-sh-git
-pkgname = mov-cli-py-git-experimental
pkgbase = mov-cli-git
pkgdesc = Bash and python script for watching movies and TV shows via the terminal
pkgrel = 1
-pkgver = 0.5.0.r0.g3c24b4c
+pkgver = 0.7.2.r13.g004f4b8
url = https://github.com/mov-cli/mov-cli
arch = all
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 26d08e5..f2bdef6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
pkgbase='mov-cli-git'
_pkgname='mov-cli'
-pkgname=('mov-cli-sh-git' 'mov-cli-py-git-experimental')
-pkgver=0.5.0.r0.g3c24b4c
+pkgname=('mov-cli-git' 'mov-cli-sh-git')
+pkgver=0.7.2.r13.g004f4b8
pkgrel=1
pkgdesc="Bash and python script for watching movies and TV shows via the terminal"
arch=('all')
@@ -19,30 +19,31 @@ pkgver() {
git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-package_mov-cli-sh-git() {
- pkgdesc="Bash script for watching movies and TV shows via the terminal"
- depends=('coreutils' 'aria2' 'grep' 'sed' 'awk' 'curl' 'openssl' 'mpv' 'ffmpeg' 'fzf')
-
- cd "$srcdir/$_pkgname"
- install -Dm755 "$_pkgname" "$pkgdir/usr/bin/${pkgname[0]}"
- install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/${pkgname[0]}/license"
- install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname[0]}/readme"
- install -Dm644 "disclaimer.org" "$pkgdir/usr/share/doc/${pkgname[0]}/disclaimer"
-}
-
-package_mov-cli-py-git-experimental() {
+package_mov-cli-git() {
pkgdesc="Python script for watching movies and TV shows via the terminal"
- provides=('mov-cli-py-git')
- conflicts=('mov-cli-py-git')
- #debian bug: lxml missig cssselect dependency
- depends=('python3-bs4' 'python3-lxml' 'python3-cssselect' 'python3-click' 'python3-httpx' 'python3-colorama' 'mpv')
+ conflicts=('mov-cli-py-git-experimental')
+ #debian bug: lxml missig cssselect dependency
+ #debian bug: pycryptodome is actually pycryptodomex
+ depends=('python3-bs4' 'python3-lxml' 'python3-cssselect' 'python3-click' 'python3-httpx' 'python3-colorama' 'python3-pycryptodome-fix' 'python3-six' 'mpv')
+ #debian bug: No package python3-pypresence
+ optdepends=('vlc: An alternative video player' 'python3-pypresence')
cd "$srcdir/$_pkgname"
python3 setup.py build
python3 setup.py install --root "$pkgdir" --optimize=1 --skip-build --install-layout deb
- mv "$pkgdir/usr/bin/$_pkgname" "$pkgdir/usr/bin/${pkgname[1]}"
- install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/${pkgname[1]}/license"
- install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname[1]}/readme"
- install -Dm644 "disclaimer.org" "$pkgdir/usr/share/doc/${pkgname[1]}/disclaimer"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$_pkgname/license"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/$_pkgname/readme"
+ install -Dm644 "disclaimer.org" "$pkgdir/usr/share/doc/$_pkgname/disclaimer"
+}
+
+package_mov-cli-sh-git() {
+ pkgdesc="Bash script for watching movies and TV shows via the terminal"
+ depends=('coreutils' 'aria2' 'grep' 'sed' 'awk' 'curl' 'openssl' 'mpv' 'ffmpeg' 'fzf')
+
+ cd "$srcdir/$_pkgname"
+ install -Dm755 "$_pkgname" "$pkgdir/usr/bin/mov-cli-sh"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/mov-cli-sh/license"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/mov-cli-sh/readme"
+ install -Dm644 "disclaimer.org" "$pkgdir/usr/share/doc/mov-cli-sh/disclaimer"
}