2025-02-03 21:36:23 +00:00
|
|
|
# Maintainer: Emma Nora Theuer <wallman@entheuer.de>
|
|
|
|
|
|
|
|
pkgname=wallman
|
2025-02-03 22:02:07 +00:00
|
|
|
pkgver=1.5.0.1
|
2025-02-03 21:36:23 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A simple program to set dynamic wallpapers on standalone X11 window managers and wayland compositors"
|
|
|
|
arch=('any')
|
|
|
|
url="https://git.entheuer.de/emma/wallman"
|
|
|
|
license=('MIT')
|
|
|
|
depends=('feh' 'python' 'python-apscheduler' 'python-pillow' 'python-pystray')
|
|
|
|
makedepends=('python-build' 'python-setuptools' 'python-wheel' 'python-installer')
|
|
|
|
provides=("$pkgname=$pkgver")
|
2025-02-03 22:02:07 +00:00
|
|
|
source=("https://files.pythonhosted.org/packages/3e/76/a2876f860e1bf290614c313fd2aa1f3a92af34bbefa551559478273a4cd2/wallman-1.5.0.1.tar.gz")
|
2025-02-03 21:36:23 +00:00
|
|
|
b2sums=('ddb067ca50f8e2e02e82e94d48126f69a1fcc22e11ca330d25c807284f0771754d84cf45c249d953c201533d3532d80925c348f8b0946c5efe0643738433cbc3')
|
|
|
|
|
|
|
|
build(){
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
python -m build --wheel --no-isolation
|
|
|
|
}
|
|
|
|
|
|
|
|
package(){
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
|
|
|
|
|
|
# Copy LICENSE
|
|
|
|
install -D -m 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
|
|
|
|
|
|
|
# Copy Icons
|
|
|
|
install -d -m 755 "$pkgdir/etc/$pkgname/icons"
|
|
|
|
cp -r icons/* "$pkgdir/etc/$pkgname/icons/"
|
|
|
|
|
|
|
|
# Copy sample config
|
|
|
|
install -D -m 644 sample_config.toml -t "$pkgdir/etc/$pkgname/"
|
|
|
|
|
2025-02-03 22:02:07 +00:00
|
|
|
# Copy .desktop file
|
|
|
|
install -D -m 644 wallman.desktop -t "$pkgdir/usr/share/application/$pkgname.desktop"
|
|
|
|
|
2025-02-03 21:36:23 +00:00
|
|
|
# Create logfile
|
|
|
|
install -d -m 733 "$pkgdir/var/log/$pkgname"
|
|
|
|
touch "$pkgdir/var/log/$pkgname/$pkgname.log"
|
|
|
|
}
|