summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorValHue2020-07-14 12:16:35 +0200
committerValHue2020-07-14 12:16:35 +0200
commit70252eb41fb60bd43cbc6553574138dfca6f66d6 (patch)
tree3566832835ba1678e1217056802ac6984bef577e /PKGBUILD
parent5cdcb75f6b92ce0470b75a625602a0164876e4e7 (diff)
downloadaur-cover-thumbnailer.tar.gz
Update to 0.10.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 14 insertions, 26 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c8af34b66e1..02071a46303 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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: