this is what i am suggesting - note how much smaller the comment has shrunk
- that is generally a good smell


diff --git a/pcr/prosody-modules/PKGBUILD b/pcr/prosody-modules/PKGBUILD
index e95ed62c1..29a3b983e 100644
--- a/pcr/prosody-modules/PKGBUILD
+++ b/pcr/prosody-modules/PKGBUILD
@@ -3,51 +3,19 @@
 # Maintainer: Wael Karram <[email protected]>
 
 
-# NOTE:
-# The prosody-modules repository doesn't have tags that correspond to
-# the prosody releases. So we used the commit right before June 09
-# to correspond to the prosody release.
-#
-# In the prosody source code we have:
-#   $ hg tags | grep "^0.12.1"
-#   0.12.1                         12526:252ed01896dd
-#   $ hg log
-#   [...]
-#   changeset:   12543:cf29bdb74c15
-#   branch:      0.12
-#   parent:      12526:252ed01896dd
-#   user:        Matthew Wild <[email protected]>
-#   date:        Thu Jun 09 12:42:57 2022 +0100
-#   summary:     Added tag 0.12.1 for changeset 252ed01896dd
-#   [...]
-#   changeset:   12526:252ed01896dd
-#   branch:      0.12
-#   tag:         0.12.1
-#   user:        Kim Alvefur <[email protected]>
-#   date:        Fri May 27 14:45:35 2022 +0200
-#   summary:     mod_smacks: Bounce unhandled stanzas from local origin (fix 
#1759)
-#   So we used the revision 4959:0989dea9b356
-#   and in prosody-modules we have:
-#   $ hg log
-#   changeset:   4960:59bedf167910
-#   user:        Kim Alvefur <[email protected]>
-#   date:        Mon Jun 13 14:25:39 2022 +0200
-#   summary:     mod_muc_ping: Remove since Prosody mod_muc 0.11+ covers this 
natively
-#
-#   changeset:   4959:0989dea9b356
-#   user:        Kim Alvefur <[email protected]>
-#   date:        Sun Jun 05 21:59:17 2022 +0200
-#   summary:     mod_rest: Add various things to openapi spec
-
-
-pkgname=prosody-modules
-pkgver=0.12.3
+# NOTE: The prosody-modules repository does not version nor make releases;
+#       so we use a date, and pin it to 'prosody' releases for compatibility.
+
+
+pkgname=prosody-modules-hg
+pkgver=20230708
+_prosody_ver=0.12.3
 pkgrel=1
 pkgdesc="Prosody community modules, includes experimental ones."
 arch=('any')
 url="https://modules.prosody.im/";
 license=('MIT')
-depends=('prosody')
+depends=(prosody=${_prosody_ver})
 makedepends=('mercurial')
 
mksource=(${pkgname}-${pkgver}::hg+https://hg.prosody.im/prosody-modules/#revision=5579)
 
source=(https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.tar.xz{,.sig})
_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to