diff options
author | ValHue | 2020-07-14 12:16:35 +0200 |
---|---|---|
committer | ValHue | 2020-07-14 12:16:35 +0200 |
commit | 70252eb41fb60bd43cbc6553574138dfca6f66d6 (patch) | |
tree | 3566832835ba1678e1217056802ac6984bef577e | |
parent | 5cdcb75f6b92ce0470b75a625602a0164876e4e7 (diff) | |
download | aur-70252eb41fb60bd43cbc6553574138dfca6f66d6.tar.gz |
Update to 0.10.0-1
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | cover-thumbnailer.install | 10 |
3 files changed, 22 insertions, 45 deletions
@@ -1,17 +1,16 @@ pkgbase = cover-thumbnailer - pkgdesc = A Python script which displays music album covers in nautilus, preview of pictures which are in a folder and more. - pkgver = 0.8.3 - pkgrel = 6 - url = https://launchpad.net/cover-thumbnailer + pkgdesc = A Python script which generates folder thumbnails for various file browser on Linux. It displays music album covers, preview of pictures which are in a folder and more. + pkgver = 0.10.0 + pkgrel = 1 + url = https://github.com/flozz/cover-thumbnailer install = cover-thumbnailer.install arch = i686 arch = x86_64 license = GPL3 - depends = python2-pillow - depends = python2-gconf - provides = cover-thumbnailer - source = https://launchpad.net/cover-thumbnailer/v0.8/v0.8.3/+download/cover-thumbnailer_0.8.3_src.tar.gz - sha256sums = c0d5213743cb251428b9998d7838d6d6e64bb4bb9ccd3a21ffebb3fc21b688c4 + depends = python-pillow + conflicts = cover-thumbnailer-git + source = cover-thumbnailer-0.10.0.tar.gz::https://github.com/flozz/cover-thumbnailer/archive/v0.10.0.tar.gz + sha256sums = dc54c9308e2b6b7d4c182b2bacfa7b46bb4bedc486565f5285e0e2a1772f52e4 pkgname = cover-thumbnailer @@ -2,39 +2,27 @@ # # Contributor: Moritz Lüdecke <ritze at skweez dot net> # Contributor: boenki <boenki at gmx dot de> - +# pkgname="cover-thumbnailer" -pkgver="0.8.3" -pkgrel="6" -pkgdesc="A Python script which displays music album covers in nautilus, preview of pictures which are in a folder and more." +pkgver="0.10.0" +pkgrel="1" +pkgdesc="A Python script which generates folder thumbnails for various file browser on Linux. It displays music album covers, preview of pictures which are in a folder and more." arch=('i686' 'x86_64') -url="https://launchpad.net/cover-thumbnailer" +url="https://github.com/flozz/cover-thumbnailer" license=('GPL3') -depends=('python2-pillow' 'python2-gconf') -provides=("${pkgname}") -source=("https://launchpad.net/${pkgname}/v0.8/v${pkgver}/+download/${pkgname}_${pkgver}_src.tar.gz") -sha256sums=('c0d5213743cb251428b9998d7838d6d6e64bb4bb9ccd3a21ffebb3fc21b688c4') +depends=('python-pillow') +conflicts=("${pkgname}"-git) +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('dc54c9308e2b6b7d4c182b2bacfa7b46bb4bedc486565f5285e0e2a1772f52e4') install="${pkgname}.install" -build() { - cd "${srcdir}/${pkgname}_${pkgver}_src" - - ### Python2 Fix ### - sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|g" ${pkgname}{,-gui}.py - - ### Python2-pillow (PIL) Fix ### - sed -i "/import Image/i\from PIL import Image" ${pkgname}.py - sed -i "s|import Image, urllib|import urllib|g" ${pkgname}.py - sed -i "s|!=|is not|g" ${pkgname}.py - - ### Thumbnailers cache Fix (Gnome 3.12) ### - sed -i "s|.thumbnails|.cache/thumbnails|g" ${pkgname}-gui.py -} - package() { - cd "${srcdir}/${pkgname}_${pkgver}_src" + cd "${pkgname}-${pkgver}" + ./install.sh -p ${pkgdir} + + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -# vim:set ts=4 sw=4 et syn=sh ft=sh: +# vim: set ts=4 sw=4 et syn=sh ft=sh: diff --git a/cover-thumbnailer.install b/cover-thumbnailer.install index eea40442e347..197f3d0dbe87 100644 --- a/cover-thumbnailer.install +++ b/cover-thumbnailer.install @@ -1,19 +1,9 @@ # cover-thumbnailer.install post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor echo "" echo " Do not forget to delete the cache of thumbnails:" echo " rm rf ~/.thumbnails" echo " rm rf ~/.cache/thumbnails" echo "" } - -post_upgrade() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_remove() { - post_install $1 -} |