Package Details: icingaweb2-git 2.8.0.r497.g22bd9e501-1

Git Clone URL: https://aur.archlinux.org/icingaweb2-git.git (read-only, click to copy)
Package Base: icingaweb2-git
Description: Icinga Web 2 Interface
Upstream URL: http://www.icinga.com
Licenses: GPL
Conflicts: icingaweb2
Provides: icingaweb2
Submitter: Zearan
Maintainer: julianbrost
Last Packager: julianbrost
Votes: 2
Popularity: 0.000000
First Submitted: 2015-05-29 09:37 (UTC)
Last Updated: 2021-07-17 10:37 (UTC)

Dependencies (7)

Required by (7)

Sources (1)

Latest Comments

<deleted-account> commented on 2021-07-17 10:40 (UTC)

Nevermind, already got flagged down by some... really fanatic people.

<deleted-account> commented on 2021-07-13 08:24 (UTC)

Hello,

I copied a part of your work to get icingaweb2 2.9.0 working asap ( I run php8, so I really can't wait to get this over with :-) ) on this AUR package;

https://aur.archlinux.org/packages/icingaweb2-latest/

If you think this is inappropriate duplicate behaviour, or you have remarks please let me know, I will remove the package.

You can also merge my code on this package if you want to.

Thank you for your work.

wuestengecko commented on 2019-01-24 23:10 (UTC)

According to the Wiki, "the developer should get the release version somehow e.g. by parsing the project files" - this can be done easily by reading the VERSION file and checking when it was last changed:

diff --git a/PKGBUILD b/PKGBUILD
index fa301ef..2bbb118 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,8 @@ sha256sums=('SKIP')

 pkgver() {
   cd "$_pkgname"
-  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+  local ver_commit="$(git blame --porcelain VERSION | head -c 40)"
+  printf "%s.r%s.%s" "$(sed 's/^v//' < VERSION)" "$(git rev-list --count $ver_commit..HEAD)" "$(git rev-parse --short HEAD)"
 }

 package() {