Package Details: malamute-git 1:1.1.0.r3.g8c5e425-1

Git Clone URL: https://aur.archlinux.org/malamute-git.git (read-only, click to copy)
Package Base: malamute-git
Description: The ZeroMQ Enterprise Messaging Broker
Upstream URL: https://github.com/zeromq/malamute
Licenses: MPL2
Conflicts: malamute
Provides: libmlm.so, malamute
Submitter: isra17
Maintainer: None
Last Packager: MarsSeed
Votes: 0
Popularity: 0.000000
First Submitted: 2018-04-13 18:45 (UTC)
Last Updated: 2023-07-24 13:11 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

MarsSeed commented on 2023-07-24 13:14 (UTC)

Thank you. I did the adjustments and some refinements. Also fixed the pkgver() because it needed the --tags option in git describe.

But I'm disowning the package, since I don't use it at all.

isra17 commented on 2023-07-17 20:56 (UTC)

Unfortunately I don't have an ArchLinux system around anymore :/

I can add you as maintainer if you want to run these and push the changes.

Thanks

MarsSeed commented on 2023-07-17 20:45 (UTC)

Thank you!

Please kindly execute the following commands in the PKGBUILD's directory, then submit the changes as a new commit:

makepkg --nodeps --nobuild
makepkg --printsrcinfo > .SRCINFO

This will ensure that your recent pkgver() change gets reflected on the AURweb page.

isra17 commented on 2023-07-17 19:29 (UTC)

Done, thanks

MarsSeed commented on 2023-07-16 08:32 (UTC)

Please kindly implement a git tag based pkgver().

You can use the following code for it.

(Bumping the epoch to 1 is needed to make sure pacman considers the newly generated version higher than the old one.)

epoch=1
provides=("${pkgname%-git}=$pkgver")
conflicts=("${pkgname%-git}")

pkgver() {
  cd "${pkgname%-git}"

  # Generate git tag based version. Count only proper (v)#.#* [#=number] tags.
  local _gitversion=$(git describe --long --match '[v0-9][0-9.][0-9.]*' | sed -e 's|^v||' | tr '[:upper:]' '[:lower:]')

  # Format git tag based version for pkgver
  # Expected format: e.g. 1.5.0rc2.r521.g99982a1c
  echo "${_gitversion}" | sed \
      -e 's|^\([0-9][0-9.]*\)-\([a-zA-Z]\+\)|\1\2|' \
      -e 's|\([0-9]\+-g\)|r\1|' \
      -e 's|-|.|g'
}