diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 20 insertions, 20 deletions
@@ -1,20 +1,20 @@ pkgname=animewatch-pyqt5 _pkgname=AnimeWatch -pkgver=4.0.0 +pkgver=4.2.0 pkgrel=0 pkgdesc="An Audio/Video Manager and Front End for mpv/mplayer with special emphasis on Anime Collection" arch=(any) conflicts=('animewatch-pyqt4' 'animewatch-pyqt5.git') license=('GPL3') depends=('python' 'qt5-webengine' 'python-pyqt5' 'python-pycurl' 'python-urllib3' 'curl' 'libnotify' 'python-dbus' 'libtorrent-rasterbar' - 'python-beautifulsoup4' 'python-psutil' 'python-pillow' 'python-lxml' 'mpv' 'mplayer' 'ffmpegthumbnailer' 'sqlite3' 'python-pytaglib' - 'youtube-dl' 'wget') + 'python-beautifulsoup4' 'python-psutil' 'python-pillow' 'python-lxml' 'mpv' 'mplayer' 'ffmpegthumbnailer' 'sqlite3' 'python-pytaglib' + 'youtube-dl' 'wget') #optdepends=('livestreamer' 'youtube-dl' 'wget') makedepends=('git') #source=("git+https://github.com/kanishka-linux/AnimeWatch.git") source=("https://github.com/kanishka-linux/${_pkgname}/releases/download/v${pkgver}-${pkgrel}/${_pkgname}-${pkgver}-${pkgrel}.tar.bz2") -md5sums=('d1800eaf96a49897c224eb1e551abec9') +md5sums=('a19669de2b29db59d3e9959ad7a652dd') _gitname=AnimeWatch-PyQt5 @@ -26,22 +26,22 @@ package() { install -d "${pkgdir}/usr/share/${_pkgname}/Plugins/" install -d "${pkgdir}/usr/share/applications/" install -d "${pkgdir}/usr/bin/" - + for file in "${_bpath}/"*;do - nm=$(echo $file | rev | cut -d'/' -f1 | rev) - if [ -d "$file" ];then - if [ $nm == 'Plugins' ];then - _plugin_path="$file/" - for plugins in "${_plugin_path}"*;do - plugin_name=$(echo $plugins | rev | cut -d'/' -f1 | rev) - if [ plugin_name != 'installPlugins.py' ];then + nm=$(echo $file | rev | cut -d'/' -f1 | rev) + if [ -d "$file" ];then + if [ $nm == 'Plugins' ];then + _plugin_path="$file/" + for plugins in "${_plugin_path}"*;do + plugin_name=$(echo $plugins | rev | cut -d'/' -f1 | rev) + if [ plugin_name != 'installPlugins.py' ];then echo $plugins echo 'Plugins copying' install -Dm755 "$plugins" "${pkgdir}/usr/share/${_pkgname}/Plugins/" - fi - done - fi - else + fi + done + fi + else if [ $nm == 'AnimeWatch.desktop' ];then echo $file echo 'desktop file copying' @@ -51,14 +51,14 @@ package() { echo 'anime-watch script' install -Dm755 "$file" "${pkgdir}/usr/bin/anime-watch" chmod +x "${pkgdir}/usr/bin/anime-watch" - else + else if [ $nm != 'install.py' ];then echo $file echo 'source files copying' install -Dm755 "$file" "${pkgdir}/usr/share/${_pkgname}/" fi fi - fi - done - + fi +done + } |