Package Details: swayblur 1.1.1-1

Git Clone URL: https://aur.archlinux.org/swayblur.git (read-only, click to copy)
Package Base: swayblur
Description: Blurs the wallpaper when a client is present
Upstream URL: https://github.com/willpower3309/swayblur
Keywords: rice sway swaywm
Licenses: MIT
Provides: swayblur
Submitter: Zerodemon69
Maintainer: Zerodemon69
Last Packager: Zerodemon69
Votes: 1
Popularity: 0.000000
First Submitted: 2022-01-09 06:28 (UTC)
Last Updated: 2022-01-16 05:33 (UTC)

Latest Comments

swayfx commented on 2022-01-16 04:45 (UTC)

Just wanted to let you know swayblur has been updated to fix a scratchpad issue, so it is now in version 1.1.1

I've linked to this package from the project's README, thanks for adding it!

lmartinez-mirror commented on 2022-01-09 07:40 (UTC)

Posting a patch so that the PKGBUILD conforms to Arch's Python packaging guidelines, among other fixes like giving the source a unique filename.

diff --git a/PKGBUILD b/PKGBUILD
index 8de5588..fe66078 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,27 @@
-# Maintainer alfredjophy <at> protonmail <dot> com
+# Maintainer: alfredjophy <at> protonmail <dot> com
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
+
 pkgname=swayblur
 pkgdesc="Blurs the wallpaper when a client is present"
 pkgver=1.1.0
-pkgrel=1
+pkgrel=2
 url="https://github.com/willpower3309/swayblur"
 arch=('any')
 license=('MIT')
-source=("$url/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('a13a68e5c508357c30e9af88fa2fc493490584fe413859e95cfa0aa5bbc5a140')
-provides=('swayblur')
 depends=('imagemagick' 'python-i3ipc' 'oguri')
-package(){
-    cd "$pkgname-$pkgver"
-    PIP_CONFIG_FILE=/dev/null 
-    pip install --isolated --root="$pkgdir" --ignore-installed --no-deps .
-}
+makedepends=('python-setuptools' 'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('a13a68e5c508357c30e9af88fa2fc493490584fe413859e95cfa0aa5bbc5a140')

+build() {
+   cd "$pkgname-$pkgver"
+   python setup.py build
+}

+package() {
+   export PYTHONHASHSEED=0
+   cd "$pkgname-$pkgver"
+   python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+   install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}