Package Details: mangojuice 0.7.8-1

Git Clone URL: https://aur.archlinux.org/mangojuice.git (read-only, click to copy)
Package Base: mangojuice
Description: A convenient alternative to GOverlay for configuring MangoHud
Upstream URL: https://github.com/radiolamp/mangojuice
Keywords: goverlay mangohud
Licenses: GPL-3.0-or-later
Submitter: radiolin
Maintainer: radiolin
Last Packager: radiolin
Votes: 2
Popularity: 1.05
First Submitted: 2024-09-11 21:21 (UTC)
Last Updated: 2024-11-07 17:54 (UTC)

Latest Comments

radiolin commented on 2024-09-26 11:23 (UTC)

I apologize that this happened with the update, now I’m solving the problem of making it look beautiful not only in gnome and I’m in a hurry to make a tag, since it’s possible that the package will be compiled today by the maintainer from Alt Linux.

radiolin commented on 2024-09-26 11:18 (UTC)

Thanks, fixed it

thebigboo commented on 2024-09-25 22:11 (UTC) (edited on 2024-09-25 22:12 (UTC) by thebigboo)

==> WARNING: Skipping verification of source file PGP signatures.

==> Validating source files with b2sums...

    0.6.1.tar.gz ... FAILED

==> ERROR: One or more files did not pass the validity check!

error: failed to download sources for 'mangojuice-0.6.1-1': 

error: packages failed to build: mangojuice-0.6.1-1

radiolin commented on 2024-09-17 07:34 (UTC) (edited on 2024-09-17 07:35 (UTC) by radiolin)

Спасибо за совет, поправил. Да я разрабочик, на данный момент в аур добавил по сути по быстрому для тестов и по этому не заморачивался с правельными конструкциями. Но на данный момент уже сделал тег и теперь должно работать как задуманно

yochananmarqos commented on 2024-09-11 23:57 (UTC) (edited on 2024-09-12 00:07 (UTC) by yochananmarqos)

Please don't invent a pkgver. See PKGBUILD: pkgver and VCS package guidelines: The pkgver() function. Use a static commit. If you're the developer, add a tag and use that. Otherwise, if you want the package to pull the latest commit, submit a VCS package called mangojuice-git.

This is missing the dependency on mangohud and fails to build as vala is missing from makedepends(). There's also a dependency on vulkan-tools for running vkcube via the Test button that could be optional.

The license is 'GPL-3.0-or-later'. See PKGBUILD: license

Users should not normally have the debug option enabled in their makepkg.conf. Do not explicitly do it in a PKGBUILD.

The url array is invalid as the variable used does not exist. I do not use variables in the url array so it can be copied and pasted into a browser.

It seems English may not be your first language. I translated the Russian and came up with the following for the pkgdesc: "A convenient alternative to GOverlay for configuring MangoHud"

PKGBUILD diff:

diff --git a/PKGBUILD b/PKGBUILD
index 049b7ea..1f2482b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,34 @@
-# Maintainer: Radiolin <anton.osi2011@gmail.com>
+# https://aur.archlinux.org/packages/mangojuice
+groups=('modified')

 pkgname=mangojuice
-pkgver=0.4.4.78dd5a0
+pkgver=r27.78dd5a0
 pkgrel=1
-pkgdesc="Gui settings mangohud"
+pkgdesc="A convenient alternative to GOverlay for configuring MangoHud"
 arch=(x86_64)
-url="https://github.com/radiolamp/${_pkgname%-git}"
-license=(GPL-3.0)
+url="https://github.com/radiolamp/mangojuice"
+license=(GPL-3.0-or-later)
 depends=(
   glib2
   gtk4
   libadwaita
   libgee
+  mangohud
+  vulkan-tools
 )
 makedepends=(
   git
   meson
+  vala
 )
-options=(!debug)
-source=("git+https://github.com/radiolamp/mangojuice.git") #tag=$pkgver
-b2sums=(SKIP)
+_commit=78dd5a0dff6a59c952b221ee581e90c06651edde
+source=("git+https://github.com/radiolamp/mangojuice.git#commit=${_commit}")
+b2sums=('84e7077bc47d42bfe7a049311bdb20d438d325cdfc4d4ea2c05af6f092466a90c3123ce57512653c50a3c9efaf6905436fe366d493e4d2d97f1f2e5ea780f706')
+
+pkgver() {
+  cd "$pkgname"
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
+}

 build() {
   arch-meson "$pkgname" build