Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18a2e308b8 | ||
|
|
1a83bd9eb9 | ||
|
|
be1973ee39 |
No files matched your search
@@ -1,22 +1,25 @@
|
|||||||
pkgbase = timetable-bin
|
pkgbase = timetable-bin
|
||||||
pkgdesc = GTK4 + LibAdwaita client for WebUntis (prebuilt, bundles python-webuntis)
|
pkgdesc = GTK4 + LibAdwaita client for WebUntis (prebuilt)
|
||||||
pkgver = 3.1
|
pkgver = 4.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://codeberg.org/ostfriese4/untis
|
url = https://codeberg.org/ostfriese4/untis
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL-3.0-or-later
|
license = GPL-3.0-or-later
|
||||||
depends = gtk4
|
depends = gtk4
|
||||||
depends = libadwaita
|
depends = libadwaita
|
||||||
|
depends = webkitgtk-6.0
|
||||||
|
depends = libsecret
|
||||||
depends = python
|
depends = python
|
||||||
depends = python-gobject
|
depends = python-gobject
|
||||||
depends = python-requests
|
depends = python-requests
|
||||||
|
depends = python-pyotp
|
||||||
depends = glib2
|
depends = glib2
|
||||||
depends = hicolor-icon-theme
|
depends = hicolor-icon-theme
|
||||||
provides = untis
|
provides = untis
|
||||||
provides = timetable
|
provides = timetable
|
||||||
conflicts = untis
|
conflicts = untis
|
||||||
conflicts = timetable
|
conflicts = timetable
|
||||||
source = https://github.com/Felitendo/PKGBUILDS/releases/download/timetable-bin-3.1/timetable-bin-3.1.tar.zst
|
source = https://github.com/Felitendo/PKGBUILDS/releases/download/timetable-bin-4.1/timetable-bin-4.1.tar.zst
|
||||||
sha256sums = ffd735d1a08204fe18e563815813b3a62f7625bce5bd5d4c086f1456422e0590
|
sha256sums = cfbebefbbdb7d7216f999a2171633a8684d008ee12a9fea047f581006bca9c4e
|
||||||
|
|
||||||
pkgname = timetable-bin
|
pkgname = timetable-bin
|
||||||
@@ -3,17 +3,18 @@
|
|||||||
# https://github.com/Felitendo/PKGBUILDS
|
# https://github.com/Felitendo/PKGBUILDS
|
||||||
|
|
||||||
pkgname=timetable-bin
|
pkgname=timetable-bin
|
||||||
pkgver=3.1
|
pkgver=4.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="GTK4 + LibAdwaita client for WebUntis (prebuilt, bundles python-webuntis)"
|
pkgdesc="GTK4 + LibAdwaita client for WebUntis (prebuilt)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://codeberg.org/ostfriese4/untis"
|
url="https://codeberg.org/ostfriese4/untis"
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
depends=('gtk4' 'libadwaita' 'python' 'python-gobject' 'python-requests' 'glib2' 'hicolor-icon-theme')
|
depends=('gtk4' 'libadwaita' 'webkitgtk-6.0' 'libsecret' 'python' 'python-gobject'
|
||||||
|
'python-requests' 'python-pyotp' 'glib2' 'hicolor-icon-theme')
|
||||||
provides=('untis' 'timetable')
|
provides=('untis' 'timetable')
|
||||||
conflicts=('untis' 'timetable')
|
conflicts=('untis' 'timetable')
|
||||||
source=("https://github.com/Felitendo/PKGBUILDS/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.zst")
|
source=("https://github.com/Felitendo/PKGBUILDS/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.zst")
|
||||||
sha256sums=('ffd735d1a08204fe18e563815813b3a62f7625bce5bd5d4c086f1456422e0590')
|
sha256sums=('cfbebefbbdb7d7216f999a2171633a8684d008ee12a9fea047f581006bca9c4e')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cp -a "$srcdir/usr" "$pkgdir/"
|
cp -a "$srcdir/usr" "$pkgdir/"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
UPSTREAM_REPO="ostfriese4/untis"
|
UPSTREAM_REPO="ostfriese4/untis"
|
||||||
|
|
||||||
# Installed in CI (pacman) before build_artifact runs.
|
# Installed in CI (pacman) before build_artifact runs.
|
||||||
BUILD_DEPS=(meson ninja glib2 glib2-devel gtk4 libadwaita python python-gobject python-pip gettext)
|
BUILD_DEPS=(meson ninja glib2 glib2-devel gtk4 libadwaita python python-gobject gettext)
|
||||||
|
|
||||||
latest_version() {
|
latest_version() {
|
||||||
curl -sf "https://codeberg.org/api/v1/repos/$UPSTREAM_REPO/releases/latest" \
|
curl -sf "https://codeberg.org/api/v1/repos/$UPSTREAM_REPO/releases/latest" \
|
||||||
@@ -31,11 +31,6 @@ build_artifact() {
|
|||||||
meson setup "$workdir/build" "$workdir/untis" --prefix=/usr --buildtype=release
|
meson setup "$workdir/build" "$workdir/untis" --prefix=/usr --buildtype=release
|
||||||
meson install -C "$workdir/build" --destdir "$destdir"
|
meson install -C "$workdir/build" --destdir "$destdir"
|
||||||
|
|
||||||
# Bundle the pure-python webuntis library: it is packaged neither in the
|
|
||||||
# Arch repos nor on the AUR. /usr/share/untis is on the launcher's sys.path.
|
|
||||||
pip download --no-deps --only-binary :all: --dest "$workdir/wheels" webuntis
|
|
||||||
python -m zipfile -e "$workdir"/wheels/webuntis-*.whl "$destdir/usr/share/untis/"
|
|
||||||
|
|
||||||
# These caches are generated by pacman hooks; shipping them would cause
|
# These caches are generated by pacman hooks; shipping them would cause
|
||||||
# file conflicts on install.
|
# file conflicts on install.
|
||||||
rm -f "$destdir/usr/share/glib-2.0/schemas/gschemas.compiled" \
|
rm -f "$destdir/usr/share/glib-2.0/schemas/gschemas.compiled" \
|
||||||
|
|||||||
Reference in new issue
Block a user