aboutsummaryrefslogtreecommitdiffstats
path: root/testing/azote/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/azote/APKBUILD')
-rw-r--r--testing/azote/APKBUILD32
1 files changed, 26 insertions, 6 deletions
diff --git a/testing/azote/APKBUILD b/testing/azote/APKBUILD
index 10a15c1ae63..068528edeb5 100644
--- a/testing/azote/APKBUILD
+++ b/testing/azote/APKBUILD
@@ -1,24 +1,44 @@
# Contributor: Matthew T Hoare <matthew.t.hoare@gmail.com>
# Maintainer: Matthew T Hoare <matthew.t.hoare@gmail.com>
pkgname=azote
-pkgver=1.9.1
+pkgver=1.12.4
pkgrel=1
pkgdesc="Wallpaper and colour manager for Sway, i3 and other window managers"
url="https://github.com/nwg-piotr/azote"
arch="noarch"
license="GPL-3.0-or-later AND BSD-3-Clause"
-depends="python3 py3-setuptools py3-gobject3 py3-pillow py3-send2trash feh xrandr"
-makedepends="python3"
+depends="
+ feh
+ gtk+3.0
+ py3-cairo
+ py3-gobject3
+ py3-pillow
+ py3-send2trash
+ python3
+ xrandr
+ "
+makedepends="py3-setuptools py3-gpep517 py3-wheel"
options="!check" # no checks
+subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/azote/archive/v$pkgver.tar.gz"
+build() {
+ gpep517 build-wheel \
+ --wheel-dir .dist \
+ --output-fd 3 3>&1 >&2
+}
+
package() {
+ gpep517 install-wheel --destdir "$pkgdir" \
+ .dist/*.whl
+
install -Dm755 dist/azote "$pkgdir"/usr/bin/azote
- install -D -t "$pkgdir"/usr/share/pixmaps dist/azote.svg
+ install -D -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps/azote.svg dist/azote.svg
install -D -t "$pkgdir"/usr/share/"$pkgname" dist/indicator_active.png
install -D -t "$pkgdir"/usr/share/"$pkgname" dist/indicator_attention.png
install -D -t "$pkgdir"/usr/share/applications dist/azote.desktop
- python3 setup.py install --root="$pkgdir/" --optimize=1
}
-sha512sums="aa9264172e43b824cd051c2ae86c7cd572821721d0bf1db0f916707bc48d3674fb90c2039c56afd724e9a975fb02a13528c7ae9145bd0ea767b908a230a133c2 azote-1.9.1.tar.gz"
+sha512sums="
+c40beafd5fa0d5337d0b09b9f0ab0e128a46d2e2eea1ecf0ef082ade2d531e4ef70d57dc932226ea7a88d2b4a72340ae0f41e049152b80d6c0d9da0ecae90640 azote-1.12.4.tar.gz
+"