Rename distfiles/ to packaging/
This commit is contained in:
parent
5b9939ec4d
commit
7f9d26004a
2 changed files with 46 additions and 0 deletions
38
packaging/Arch/PKGBUILD
Normal file
38
packaging/Arch/PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Maintainer: Emma Nora Theuer <wallman@entheuer.de>
|
||||||
|
|
||||||
|
pkgname=wallman
|
||||||
|
pkgver=1.5.0.0
|
||||||
|
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")
|
||||||
|
source=("https://files.pythonhosted.org/packages/9f/dd/0fadf37c5dbd1bb686afbcbe77760dfe0765520f7f4dbe67c442238ef62b/wallman-$pkgver.tar.gz")
|
||||||
|
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/"
|
||||||
|
|
||||||
|
# Create logfile
|
||||||
|
install -d -m 733 "$pkgdir/var/log/$pkgname"
|
||||||
|
touch "$pkgdir/var/log/$pkgname/$pkgname.log"
|
||||||
|
}
|
8
packaging/wallman.desktop
Executable file
8
packaging/wallman.desktop
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=wallman
|
||||||
|
Comment=run wallman
|
||||||
|
Exec=wallman
|
||||||
|
Icon=/etc/wallman/icons/WallmanLogo.jpg
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Utility;
|
Loading…
Reference in a new issue