diff --git a/README.md b/README.md index eda78a8..ae07e3e 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,6 @@ source in the `PKGBUILD` (and drop the `-bin` suffix), or don't package it. | Package | Upstream | Upstream deliverable | AUR | |---|---|---|---| -| `bazaar` | [bazaar-org/bazaar](https://github.com/bazaar-org/bazaar) — GNOME app store for flatpaks/Flathub | *built from source* | [bazaar](https://aur.archlinux.org/packages/bazaar) | | `chiaki-ng-bin` | [streetpea/chiaki-ng](https://github.com/streetpea/chiaki-ng) — PlayStation Remote Play client (Qt6) | AppImage | [chiaki-ng-bin](https://aur.archlinux.org/packages/chiaki-ng-bin) | | `chromium-widevine-helper` | [GloriousEggroll/chromium-widevine-helper](https://github.com/GloriousEggroll/chromium-widevine-helper) — extension + native helper installing Google's Widevine CDM into Chromium-based browser profiles | *no build step* | [chromium-widevine-helper](https://aur.archlinux.org/packages/chromium-widevine-helper) | | `faugus-launcher-bin` | [Faugus/faugus-launcher](https://github.com/Faugus/faugus-launcher) — launcher for Windows games via UMU-Launcher | `.deb` (`all`) | [faugus-launcher-bin](https://aur.archlinux.org/packages/faugus-launcher-bin) | @@ -70,8 +69,10 @@ package automatically. ## Adding a package -Check first that upstream actually publishes a Linux binary and that the AUR -does not already carry an equivalent package — a `-bin` next to a maintained +Check first that upstream actually publishes a Linux binary, that the package +is not already in the **official repositories** (the AUR rejects the push +outright: "package already provided by [extra]"), and that the AUR does not +already carry an equivalent package — a `-bin` next to a maintained source package is fine, a second copy of the same thing is not. Then create a directory named after the AUR package containing: diff --git a/bazaar/.SRCINFO b/bazaar/.SRCINFO deleted file mode 100644 index 2044ed3..0000000 --- a/bazaar/.SRCINFO +++ /dev/null @@ -1,44 +0,0 @@ -pkgbase = bazaar - pkgdesc = App store for GNOME with a focus on flatpaks and Flathub - pkgver = 0.9.1 - pkgrel = 1 - url = https://github.com/bazaar-org/bazaar - arch = x86_64 - license = GPL-3.0-only - makedepends = meson - makedepends = ninja - makedepends = blueprint-compiler - makedepends = glib2-devel - makedepends = gettext - makedepends = gobject-introspection - makedepends = python-babel - depends = appstream - depends = cairo - depends = dconf - depends = flatpak - depends = glib2 - depends = glycin - depends = glycin-gtk4 - depends = graphene - depends = gtk4 - depends = gtksourceview5 - depends = json-glib - depends = libadwaita - depends = libdex - depends = libheif - depends = libmalcontent - depends = libproxy - depends = libsecret - depends = libsoup3 - depends = libxmlb - depends = libyaml - depends = md4c - depends = pango - depends = webkitgtk-6.0 - depends = hicolor-icon-theme - optdepends = krunner-bazaar: krunner integration - optdepends = malcontent: parental controls - source = bazaar-0.9.1.tar.gz::https://github.com/bazaar-org/bazaar/archive/refs/tags/v0.9.1.tar.gz - sha256sums = 1b2783845b183a9cea87048e582dcbdd71d7771a7f65f89d7ec8a563af2d550f - -pkgname = bazaar diff --git a/bazaar/PKGBUILD b/bazaar/PKGBUILD deleted file mode 100644 index d8e770e..0000000 --- a/bazaar/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Felitendo -# This PKGBUILD is updated automatically: -# https://github.com/Felitendo/PKGBUILDS - -pkgname=bazaar -pkgver=0.9.1 -pkgrel=1 -pkgdesc="App store for GNOME with a focus on flatpaks and Flathub" -arch=('x86_64') -url="https://github.com/bazaar-org/bazaar" -license=('GPL-3.0-only') -depends=('appstream' 'cairo' 'dconf' 'flatpak' 'glib2' 'glycin' 'glycin-gtk4' - 'graphene' 'gtk4' 'gtksourceview5' 'json-glib' 'libadwaita' 'libdex' - 'libheif' 'libmalcontent' 'libproxy' 'libsecret' 'libsoup3' 'libxmlb' - 'libyaml' 'md4c' 'pango' 'webkitgtk-6.0' 'hicolor-icon-theme') -makedepends=('meson' 'ninja' 'blueprint-compiler' 'glib2-devel' 'gettext' - 'gobject-introspection' 'python-babel') -optdepends=('krunner-bazaar: krunner integration' - 'malcontent: parental controls') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('1b2783845b183a9cea87048e582dcbdd71d7771a7f65f89d7ec8a563af2d550f') - -build() { - meson setup build "${pkgname}-${pkgver}" \ - --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" -} diff --git a/bazaar/pkg.sh b/bazaar/pkg.sh deleted file mode 100644 index f760429..0000000 --- a/bazaar/pkg.sh +++ /dev/null @@ -1,27 +0,0 @@ -# bazaar - GNOME app store focused on flatpaks/Flathub -# (https://github.com/bazaar-org/bazaar), C + GTK4/blueprint. -# -# Upstream tags releases but publishes no binaries, so this is a source -# package: the PKGBUILD builds the meson project from the release tarball. - -UPSTREAM_REPO="bazaar-org/bazaar" - -# Installed in CI (pacman) before the makepkg test build. -BUILD_DEPS=(meson ninja blueprint-compiler glib2-devel python-babel gettext - gobject-introspection appstream flatpak gtk4 libadwaita - gtksourceview5 libdex glycin glycin-gtk4 webkitgtk-6.0 json-glib - libxmlb libyaml md4c libmalcontent libsecret libsoup3 libproxy - libheif) - -latest_version() { - gh api "repos/$UPSTREAM_REPO/releases/latest" --jq '.tag_name' | sed 's/^v//' -} - -# refresh_checksums -refresh_checksums() { - local ver="$1" pkgbuild="$2" - local sha - sha="$(curl -sfL "https://github.com/$UPSTREAM_REPO/archive/refs/tags/v$ver.tar.gz" \ - | sha256sum | cut -d' ' -f1)" - sed -i "s|^sha256sums=.*|sha256sums=('$sha')|" "$pkgbuild" -}