makedeb


mov-cli-git 4.4.5.r429.e70bdfc-1


Python script for watching movies and TV shows via the terminal.

Click here to go back to the commit logs for mov-cli-git.

Commit:


Hash: 894884f5fd4b57d0f9c4adb835bc1e04eec80601

Message: fix dependencies

Diff


diff --git a/.SRCINFO b/.SRCINFO
index f4bb561..4df833a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,13 +3,11 @@ pkgname = mov-cli-git
 pkgbase = mov-cli-git
 pkgdesc = Python script for watching movies and TV shows via the terminal.
 pkgrel = 1
-pkgver = 1.4.7.r1.g44f448c
+pkgver = 1.5.2.r4.g7a2d65b
 url = https://github.com/mov-cli/mov-cli
 arch = all
 conflicts = mov-cli
 depends = python3-bs4
-depends = python3-lxml
-depends = python3-cssselect
 depends = python3-tldextract
 depends = python3-httpx
 depends = python3-pycryptodome-fix
@@ -22,13 +20,21 @@ license = GPL3
 makedepends = git
 makedepends = python3-build
 makedepends = python3-installer
+makedepends = python3-poetry
 makedepends = python3-wheel
+optdepends = python3-porn-cli: Porn lib
+optdepends = python3-lxml:
+optdepends = python3-cssselect: python3-lxml dependency
+optdepends = vlc: alternate media player
 provides = mov-cli
 source = git+https://github.com/mov-cli/mov-cli.git
 b2sums = SKIP
 makedepends = git
 makedepends = python3-build
 makedepends = python3-installer
+makedepends = python3-poetry
 makedepends = python3-wheel
-optmakedepends = python3-porn-cli: Porn lib
-optmakedepends = python3-porn-cli: Porn lib
+optdepends = python3-porn-cli: Porn lib
+optdepends = python3-lxml:
+optdepends = python3-cssselect: python3-lxml dependency
+optdepends = vlc: alternate media player
diff --git a/PKGBUILD b/PKGBUILD
index bb9cd31..7342ffe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,20 @@
 # Contributor: Anakojm <https://anakojm.net/a-propos/#contact>
 _pkgname='mov-cli'
 pkgname='mov-cli-git'
-pkgver=1.4.7.r1.g44f448c
+pkgver=1.5.2.r4.g7a2d65b
 pkgrel=1
 pkgdesc="Python script for watching movies and TV shows via the terminal."
 arch=('all')
 url="https://github.com/mov-cli/mov-cli"
 license=('GPL3')
-makedepends=('git' 'python3-build' 'python3-installer' 'python3-wheel') 
-#debian bug: lxml missig cssselect dependency
+makedepends=('git' 'python3-build' 'python3-installer' 'python3-poetry' 'python3-wheel') 
 #debian bug: pycryptodome is actually pycryptodomex
-depends=('python3-bs4' 'python3-lxml' 'python3-cssselect' 'python3-tldextract' 'python3-httpx' 'python3-pycryptodome-fix' 'python3-six' 'python3-krfzf-py' 'mpv' 'ffmpeg' 'fzf')
-optmakedepends=("python3-porn-cli: Porn lib")
+depends=('python3-bs4' 'python3-tldextract' 'python3-httpx' 'python3-pycryptodome-fix' 'python3-six' 'python3-krfzf-py' 'mpv' 'ffmpeg' 'fzf')
+#debian bug: lxml missig cssselect dependency
+optdepends=("python3-porn-cli: Porn lib"
+            "python3-lxml:"
+            "python3-cssselect: python3-lxml dependency"
+            "vlc: alternate media player")
 provides=('mov-cli')
 conflicts=('mov-cli')
 source=('git+https://github.com/mov-cli/mov-cli.git')
@@ -35,7 +38,7 @@ package() {
   mv "$pkgdir/usr/local/"* "$pkgdir/usr/"
   rmdir "$pkgdir/usr/local" 
   # doc
-  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"
+  ln -s /usr/share/common-licenses/GPL-3 "$pkgdir/usr/share/doc/$_pkgname/"
 }