Package Details: cum 0.9.1-4

Git Clone URL: https://aur.archlinux.org/cum.git (read-only, click to copy)
Package Base: cum
Description: Comic Updater, Mangafied
Upstream URL: https://github.com/Hamuko/cum
Keywords: batoto downloader dynastyscans madokami
Licenses: Apache
Submitter: CounterPillow
Maintainer: CounterPillow
Last Packager: CounterPillow
Votes: 3
Popularity: 0.000960
First Submitted: 2015-09-03 15:07
Last Updated: 2019-11-20 16:16

Latest Comments

RiCON commented on 2019-11-20 16:06

diff --git a/PKGBUILD b/PKGBUILD
index 759c0f1..cc3df79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Nicolas F. <aur@fratti.ch>
 pkgname=cum
 pkgver=0.9.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Comic Updater, Mangafied"
 arch=('any')
 url="https://github.com/Hamuko/cum"
@@ -23,7 +23,8 @@ package() {
     python setup.py install --root="$pkgdir/" --optimize=1
     rm "$pkgdir/usr/LICENSE"
     rm -r "$pkgdir/usr/tests/"
-    rm -r "$pkgdir/usr/lib/python3.7/site-packages/tests/"
+    local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+    rm -r "$pkgdir/$site_packages/tests/"

     install -Dm644 $srcdir/cumpletion.sh \
             $pkgdir/usr/share/bash-completion/completions/cum

BrainDamage commented on 2019-11-19 18:31

instead of hardcoding python site path in the PKGBUILD, ( which currently fails since python updated to 3.8) you should instead query python itself for that information. eg. python -c 'import site; print(site.getsitepackages()[0])'

awh commented on 2018-12-04 23:42

==> Finished making: cum 0.9.1-3

==> Cleaning up...

SpectralMemories commented on 2018-10-21 20:01

Expected jokes about the name, disapointed