[arch-commits] Commit in nextcloud-app-deck/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Nov 11 17:40:38 UTC 2021


    Date: Thursday, November 11, 2021 @ 17:40:38
  Author: dvzrv
Revision: 1042339

archrelease: copy trunk to community-any

Added:
  nextcloud-app-deck/repos/community-any/PKGBUILD
    (from rev 1042338, nextcloud-app-deck/trunk/PKGBUILD)
Deleted:
  nextcloud-app-deck/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-11 17:40:33 UTC (rev 1042338)
+++ PKGBUILD	2021-11-11 17:40:38 UTC (rev 1042339)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Jonas Heinrich <onny at project-insanity.org>
-
-pkgname=nextcloud-app-deck
-_name=deck
-pkgver=1.5.3
-pkgrel=1
-# upstream doesn't adhere to semver:
-# https://github.com/nextcloud/deck/issues/1197
-epoch=1
-pkgdesc="Kanban style organization tool aimed at personal planning and project organization"
-arch=('any')
-url="https://github.com/nextcloud/deck"
-license=('AGPL3')
-groups=('nextcloud-apps')
-makedepends=('nextcloud' 'ripgrep' 'yq')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud-releases/${_name}/releases/download/v${pkgver}/${_name}.tar.gz")
-sha512sums=('7923ab7e88a96f66c1a7877b65f80e9062df2c6203a133bde1c060a88a829613b05ad8ada4c77a8077df70795354c61f02cc63b45f1e7bb7871a9e3d62d13fe8')
-b2sums=('7f950b7b414570eb73537ae9e56ccb3c6947c49e6a8f198cff7062f047a173c00d4df2e3375d347f450f70ea090d059afa25e798ce33d1a2cf7d8343d12242a4')
-
-_get_nextcloud_versions() {
-  _app_min_major_version="$(xq '.info.dependencies.nextcloud["@min-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
-  _app_max_major_version="$(xq '.info.dependencies.nextcloud["@max-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
-  _app_max_major_version=$(expr ${_app_max_major_version} + 1)
-}
-
-check() {
-  local _app_min_major_version
-  local _app_max_major_version
-  _get_nextcloud_versions
-
-  local _nextcloud_major_version="$(rg "OC_Version = " /usr/share/webapps/nextcloud/version.php |cut -d'(' -f2| cut -d ',' -f1)"
-  if [[ "$(vercmp "${_nextcloud_major_version}" "${_app_min_major_version}")" -lt 0 ]] || [[ "$(vercmp "${_nextcloud_major_version}" "${_app_max_major_version}")" -gt 0 ]] ; then
-    printf "%s requires nextcloud >= %s/ nextcloud <= %s, but nextcloud %s is provided.\n" "$pkgname" "${_app_min_major_version}" "${_app_max_major_version}" "${_nextcloud_major_version}"
-    exit 1
-  fi
-}
-
-package() {
-  _get_nextcloud_versions
-
-  depends=("nextcloud>=${_app_min_major_version}" "nextcloud<${_app_max_major_version}")
-
-  install -vdm 755 "${pkgdir}/usr/share/webapps/nextcloud/apps/"
-  cp -av "${_name}" "${pkgdir}/usr/share/webapps/nextcloud/apps/"
-}

Copied: nextcloud-app-deck/repos/community-any/PKGBUILD (from rev 1042338, nextcloud-app-deck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-11 17:40:38 UTC (rev 1042339)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+
+pkgname=nextcloud-app-deck
+_name=deck
+pkgver=1.5.5
+pkgrel=1
+# upstream doesn't adhere to semver:
+# https://github.com/nextcloud/deck/issues/1197
+epoch=1
+pkgdesc="Kanban style organization tool aimed at personal planning and project organization"
+arch=('any')
+url="https://github.com/nextcloud/deck"
+license=('AGPL3')
+groups=('nextcloud-apps')
+makedepends=('nextcloud' 'ripgrep' 'yq')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud-releases/${_name}/releases/download/v${pkgver}/${_name}.tar.gz")
+sha512sums=('2b7ad1ba12a08f18cc2dd767ff541bca5ba823c0a74aa9077b93e2e1d5483dae675a0e8a64486c969d3a2d9eb0091fdba16350f7697f1f0a5ef4930f0d0eb9ba')
+b2sums=('af913b63cc8be3c81e3da7c436248a69583a948e51f86142d21facabd367984fdb2a80ffc230be0e077bbb845b0b2f82f91b36d277e6468d58303751c29df758')
+
+_get_nextcloud_versions() {
+  _app_min_major_version="$(xq '.info.dependencies.nextcloud["@min-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
+  _app_max_major_version="$(xq '.info.dependencies.nextcloud["@max-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
+  _app_max_major_version=$(expr ${_app_max_major_version} + 1)
+}
+
+check() {
+  local _app_min_major_version
+  local _app_max_major_version
+  _get_nextcloud_versions
+
+  local _nextcloud_major_version="$(rg "OC_Version = " /usr/share/webapps/nextcloud/version.php |cut -d'(' -f2| cut -d ',' -f1)"
+  if [[ "$(vercmp "${_nextcloud_major_version}" "${_app_min_major_version}")" -lt 0 ]] || [[ "$(vercmp "${_nextcloud_major_version}" "${_app_max_major_version}")" -gt 0 ]] ; then
+    printf "%s requires nextcloud >= %s/ nextcloud <= %s, but nextcloud %s is provided.\n" "$pkgname" "${_app_min_major_version}" "${_app_max_major_version}" "${_nextcloud_major_version}"
+    exit 1
+  fi
+}
+
+package() {
+  _get_nextcloud_versions
+
+  depends=("nextcloud>=${_app_min_major_version}" "nextcloud<${_app_max_major_version}")
+
+  install -vdm 755 "${pkgdir}/usr/share/webapps/nextcloud/apps/"
+  cp -av "${_name}" "${pkgdir}/usr/share/webapps/nextcloud/apps/"
+}



More information about the arch-commits mailing list