Files
PKGBUILDS/timetable/PKGBUILD
T
Felitendo 0229020278 Group C: rebuild as source packages without the -bin suffix
These three have no upstream Linux binary to point at, but also no
equivalent in the AUR or the official repositories - so unlike the packages
dropped in 46ddf59 they can legitimately exist, just as source packages.

  bazaar-bin                    -> bazaar
  timetable-bin                 -> timetable
  chromium-widevine-helper-bin  -> chromium-widevine-helper

bazaar and timetable now build their meson projects in build(); the
checksum-only CI path still applies, since the source is upstream's release
tarball.

chromium-widevine-helper compiles nothing (Python script, JSON manifests and
extension assets). Upstream publishes neither releases nor tags, so the
package pins the main commit carrying the version from the Fedora spec and
verifies the two agree in prepare() - being tied to a specific version, it
needs no -git suffix. refresh_checksums() moves the pin.

The AUR repos for the new names are created by the first push; the old -bin
packages are left to the pending deletion requests.
2026-07-27 17:46:36 +02:00

43 lines
1.3 KiB
Bash

# Maintainer: Felitendo
# This PKGBUILD is updated automatically:
# https://github.com/Felitendo/PKGBUILDS
pkgname=timetable
pkgver=4.2.1
pkgrel=1
pkgdesc="GTK4 + LibAdwaita client for WebUntis"
arch=('any')
url="https://codeberg.org/ostfriese4/untis"
license=('GPL-3.0-or-later')
depends=('gtk4' 'libadwaita' 'webkitgtk-6.0' 'libsecret' 'python'
'python-gobject' 'python-requests' 'python-pyotp' 'glib2'
'hicolor-icon-theme')
makedepends=('meson' 'ninja' 'glib2-devel' 'gettext')
provides=('untis')
conflicts=('untis')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('68ff7ef34047c51c74610f3b4d145a0ce6ce11287f6aa5ed38766d11279957cd')
prepare() {
# Upstream does not maintain the version in meson.build; use the release tag
# so the About dialog shows the right version.
sed -i "0,/version:/s/version: *'[^']*'/version: '$pkgver'/" untis/meson.build
}
build() {
meson setup build untis \
--prefix=/usr \
--buildtype=release \
--wrap-mode=nodownload
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
# generated by pacman hooks; shipping them would cause file conflicts
rm -f "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled" \
"$pkgdir/usr/share/applications/mimeinfo.cache" \
"$pkgdir/usr/share/icons/hicolor/icon-theme.cache"
}