Add .desktop file handling and update version

This commit is contained in:
Emma Nora Theuer 2025-02-03 23:02:07 +01:00
parent 3652dedd68
commit feff92276d

View file

@ -1,7 +1,7 @@
# Maintainer: Emma Nora Theuer <wallman@entheuer.de> # Maintainer: Emma Nora Theuer <wallman@entheuer.de>
pkgname=wallman pkgname=wallman
pkgver=1.5.0.0 pkgver=1.5.0.1
pkgrel=1 pkgrel=1
pkgdesc="A simple program to set dynamic wallpapers on standalone X11 window managers and wayland compositors" pkgdesc="A simple program to set dynamic wallpapers on standalone X11 window managers and wayland compositors"
arch=('any') arch=('any')
@ -10,7 +10,7 @@ license=('MIT')
depends=('feh' 'python' 'python-apscheduler' 'python-pillow' 'python-pystray') depends=('feh' 'python' 'python-apscheduler' 'python-pillow' 'python-pystray')
makedepends=('python-build' 'python-setuptools' 'python-wheel' 'python-installer') makedepends=('python-build' 'python-setuptools' 'python-wheel' 'python-installer')
provides=("$pkgname=$pkgver") provides=("$pkgname=$pkgver")
source=("https://files.pythonhosted.org/packages/9f/dd/0fadf37c5dbd1bb686afbcbe77760dfe0765520f7f4dbe67c442238ef62b/wallman-$pkgver.tar.gz") source=("https://files.pythonhosted.org/packages/3e/76/a2876f860e1bf290614c313fd2aa1f3a92af34bbefa551559478273a4cd2/wallman-1.5.0.1.tar.gz")
b2sums=('ddb067ca50f8e2e02e82e94d48126f69a1fcc22e11ca330d25c807284f0771754d84cf45c249d953c201533d3532d80925c348f8b0946c5efe0643738433cbc3') b2sums=('ddb067ca50f8e2e02e82e94d48126f69a1fcc22e11ca330d25c807284f0771754d84cf45c249d953c201533d3532d80925c348f8b0946c5efe0643738433cbc3')
build(){ build(){
@ -32,6 +32,9 @@ package(){
# Copy sample config # Copy sample config
install -D -m 644 sample_config.toml -t "$pkgdir/etc/$pkgname/" install -D -m 644 sample_config.toml -t "$pkgdir/etc/$pkgname/"
# Copy .desktop file
install -D -m 644 wallman.desktop -t "$pkgdir/usr/share/application/$pkgname.desktop"
# Create logfile # Create logfile
install -d -m 733 "$pkgdir/var/log/$pkgname" install -d -m 733 "$pkgdir/var/log/$pkgname"
touch "$pkgdir/var/log/$pkgname/$pkgname.log" touch "$pkgdir/var/log/$pkgname/$pkgname.log"