Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions package/regenda/package
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
# Copyright (c) 2023 The Toltec Contributors
# SPDX-License-Identifier: MIT

pkgnames=(regenda)
pkgdesc="Caldav agenda app"
url=https://github.com/tenJirka/reGenda
pkgver=0.0.1-1
timestamp=2023-08-23T19:40Z
section="utils"
maintainer="tenJirka <[email protected]>"
license=GPL3
installdepends=(python3 python3-pip python3-lxml)
flags=(patch_rm2fb)

source=(https://github.com/tenJirka/reGenda/archive/refs/tags/0.0.1.zip)
sha256sums=(00d6a1e2f6b59f86ba47ea5c3444f24e112d24eb62082802653fe4649153da01)

package() {
install -D -m 644 -t "$pkgdir"/opt/etc/draft/ "$srcdir"/regenda.draft
install -D -m 644 -t "$pkgdir"/opt/etc/reGenda/ "$srcdir"/config.yml.example
install -D -m 644 "$srcdir"/icon.png "$pkgdir"/opt/etc/draft/icons/reGenda.png
install -D -m 755 -t "$pkgdir"/opt/reGenda/ "$srcdir"/run.py
install -D -m 644 -t "$pkgdir"/opt/reGenda/ "$srcdir"/languages.py
install -D -m 644 -t "$pkgdir"/opt/reGenda/ "$srcdir"/calendar_caldav.py
ln -s /opt/reGenda/run.py "$pkgdir"/opt/bin/reGenda
}

configure() {
pip install --upgrade pip caldav pyyaml pytz rm_pysas
echo "You have to config server in /opt/etc/reGenda/config.yml, if you have any trouble, see https://github.com/tenJirka/reGenda for help"
}