Date: Thursday, October 27, 2022 @ 21:17:05
  Author: dvzrv
Revision: 1338262

archrelease: copy trunk to community-testing-any

Added:
  nextcloud-app-calendar/repos/community-testing-any/PKGBUILD
    (from rev 1338261, nextcloud-app-calendar/trunk/PKGBUILD)
Deleted:
  nextcloud-app-calendar/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-27 21:16:34 UTC (rev 1338261)
+++ PKGBUILD    2022-10-27 21:17:05 UTC (rev 1338262)
@@ -1,64 +0,0 @@
-# Maintainer: Sergej Pupykin <[email protected]>
-
-pkgname=nextcloud-app-calendar
-_name=calendar
-epoch=1
-pkgver=4.0.1
-pkgrel=1
-pkgdesc="Calendar app for nextcloud"
-arch=(any)
-url="https://github.com/nextcloud/calendar/";
-license=(AGPL)
-makedepends=(nextcloud yq)
-groups=(nextcloud-apps)
-options=('!strip')
-source=($pkgname-$pkgver.tar.gz::https://github.com/nextcloud-releases/calendar/releases/download/v$pkgver/$_name-v$pkgver.tar.gz)
-sha256sums=('3227716ed230176c558363259c43432b13914d973ce5a22e5957cf933a7525b2')
-b2sums=('c5f89beb3bca74bb0936c272fc4be3e4ca496aa93b0bc18bf5e63ad10936ee89008eeda646fcd14cf25b023f8d3906422374508807d53c02f461a20996783b94')
-
-# BEGIN boilerplate nextcloud app version clamping, see also other packages in 
group
-# 1. Call respective function helpers in check() and package() *after* cd'ing 
to the source directory
-# 2. Add makedepends+=(nextcloud yq)
-_phps=(php7 php)
-_get_supported_ranges() {
-  _app_min_nextcloud="$(< appinfo/info.xml xq -r 
'.info.dependencies.nextcloud["@min-version"] | values')"
-  _app_max_nextcloud="$(< appinfo/info.xml xq -r 
'.info.dependencies.nextcloud["@max-version"] | values | tonumber | .+1')"
-  _app_min_php="$(< appinfo/info.xml xq -r 
'.info.dependencies.php["@min-version"] | values')"
-  _app_max_php="$(< appinfo/info.xml xq -r 
'.info.dependencies.php["@max-version"] | values | tonumber | .+0.1')"
-}
-_unsupported_range() {
-  printf "%s requires %s %s, but %s %s is provided.\n" "$pkgname" "$1" "$2" 
"$1" "$3"
-  exit 1
-}
-_nextcloud_app_check() {
-  _get_supported_ranges
-  for _php in "${_phps[@]}"; do command -v "$_php" > /dev/null && break; done
-  local _nextcloud_ver="$("$_php" <(cat 
/usr/share/webapps/nextcloud/version.php; echo 'print($OC_VersionString);'))"
-  local _php_ver="$("$_php" -r 'print(phpversion());')"
-  [[ "$(vercmp "${_app_min_nextcloud:-0}" "$_nextcloud_ver")" -le 0 ]] || \
-    _unsupported_range nextcloud "=> $_app_min_nextcloud" "$_nextcloud_ver"
-  [[ "$(vercmp "${_app_max_nextcloud:-999}" "$_nextcloud_ver")" -gt 0 ]] || \
-    _unsupported_range nextcloud "< $_app_max_nextcloud" "$_nextcloud_ver"
-  [[ "$(vercmp "${_app_min_php:-0}" "$_php_ver")" -le 0 ]] || \
-    _unsupported_range php ">= $_app_min_php" "$_php_ver"
-  [[ "$(vercmp "${_app_max_php:-999}" "$_php_ver")" -gt 0 ]] || \
-    _unsupported_range php "< $_app_max_php" "$_php_ver"
-}
-_nextcloud_app_package() {
-  _get_supported_ranges
-  depends+=("nextcloud>=${_app_min_nextcloud:-0}" 
"nextcloud<${_app_max_nextcloud:-999}")
-  depends+=("php-interpreter${_app_min_php:+>=$_app_min_php}" 
${_app_max_php:+"php-interpreter<$_app_max_php"})
-}
-# END boilerplate nextcloud app version clamping
-
-check() {
-  cd $_name
-  _nextcloud_app_check
-}
-
-package() {
-  install -vdm 755 "$pkgdir/usr/share/webapps/nextcloud/apps/"
-  cp -av $_name "$pkgdir/usr/share/webapps/nextcloud/apps/"
-  cd $_name
-  _nextcloud_app_package
-}

Copied: nextcloud-app-calendar/repos/community-testing-any/PKGBUILD (from rev 
1338261, nextcloud-app-calendar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-27 21:17:05 UTC (rev 1338262)
@@ -0,0 +1,64 @@
+# Maintainer: Sergej Pupykin <[email protected]>
+
+pkgname=nextcloud-app-calendar
+_name=calendar
+epoch=1
+pkgver=4.0.2
+pkgrel=1
+pkgdesc="Calendar app for nextcloud"
+arch=(any)
+url="https://github.com/nextcloud/calendar/";
+license=(AGPL)
+makedepends=(nextcloud yq)
+groups=(nextcloud-apps)
+options=('!strip')
+source=($pkgname-$pkgver.tar.gz::https://github.com/nextcloud-releases/calendar/releases/download/v$pkgver/$_name-v$pkgver.tar.gz)
+sha256sums=('eef101fdf773e6711a6c83c507ef4554c07c9bebf62a7f54bfbd2ef891895e7f')
+b2sums=('37cdbc07d347a6f743d0eb8ad157c120001928a12cc626050caf0dacc594c59d522a8781b99ac25b2c2c1df5cc179352e31d51e265ab71a0ec9a65237c5d6b7e')
+
+# BEGIN boilerplate nextcloud app version clamping, see also other packages in 
group
+# 1. Call respective function helpers in check() and package() *after* cd'ing 
to the source directory
+# 2. Add makedepends+=(nextcloud yq)
+_phps=(php7 php)
+_get_supported_ranges() {
+  _app_min_nextcloud="$(< appinfo/info.xml xq -r 
'.info.dependencies.nextcloud["@min-version"] | values')"
+  _app_max_nextcloud="$(< appinfo/info.xml xq -r 
'.info.dependencies.nextcloud["@max-version"] | values | tonumber | .+1')"
+  _app_min_php="$(< appinfo/info.xml xq -r 
'.info.dependencies.php["@min-version"] | values')"
+  _app_max_php="$(< appinfo/info.xml xq -r 
'.info.dependencies.php["@max-version"] | values | tonumber | .+0.1')"
+}
+_unsupported_range() {
+  printf "%s requires %s %s, but %s %s is provided.\n" "$pkgname" "$1" "$2" 
"$1" "$3"
+  exit 1
+}
+_nextcloud_app_check() {
+  _get_supported_ranges
+  for _php in "${_phps[@]}"; do command -v "$_php" > /dev/null && break; done
+  local _nextcloud_ver="$("$_php" <(cat 
/usr/share/webapps/nextcloud/version.php; echo 'print($OC_VersionString);'))"
+  local _php_ver="$("$_php" -r 'print(phpversion());')"
+  [[ "$(vercmp "${_app_min_nextcloud:-0}" "$_nextcloud_ver")" -le 0 ]] || \
+    _unsupported_range nextcloud "=> $_app_min_nextcloud" "$_nextcloud_ver"
+  [[ "$(vercmp "${_app_max_nextcloud:-999}" "$_nextcloud_ver")" -gt 0 ]] || \
+    _unsupported_range nextcloud "< $_app_max_nextcloud" "$_nextcloud_ver"
+  [[ "$(vercmp "${_app_min_php:-0}" "$_php_ver")" -le 0 ]] || \
+    _unsupported_range php ">= $_app_min_php" "$_php_ver"
+  [[ "$(vercmp "${_app_max_php:-999}" "$_php_ver")" -gt 0 ]] || \
+    _unsupported_range php "< $_app_max_php" "$_php_ver"
+}
+_nextcloud_app_package() {
+  _get_supported_ranges
+  depends+=("nextcloud>=${_app_min_nextcloud:-0}" 
"nextcloud<${_app_max_nextcloud:-999}")
+  depends+=("php-interpreter${_app_min_php:+>=$_app_min_php}" 
${_app_max_php:+"php-interpreter<$_app_max_php"})
+}
+# END boilerplate nextcloud app version clamping
+
+check() {
+  cd $_name
+  _nextcloud_app_check
+}
+
+package() {
+  install -vdm 755 "$pkgdir/usr/share/webapps/nextcloud/apps/"
+  cp -av $_name "$pkgdir/usr/share/webapps/nextcloud/apps/"
+  cd $_name
+  _nextcloud_app_package
+}

Reply via email to