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

David Runge dvzrv at gemini.archlinux.org
Sun Sep 5 19:25:47 UTC 2021


    Date: Sunday, September 5, 2021 @ 19:25:47
  Author: dvzrv
Revision: 1011834

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-05 19:25:39 UTC (rev 1011833)
+++ PKGBUILD	2021-09-05 19:25:47 UTC (rev 1011834)
@@ -1,35 +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.0
-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')
-depends=('nextcloud>21' 'nextcloud<23')
-makedepends=('ripgrep' 'yq')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud-releases/${_name}/releases/download/v${pkgver}/${_name}.tar.gz")
-sha512sums=('152f032f8d9049e812f29ebd1e5b7a539fe729d8075a22555955fd8656fb4b4981d893d0f2aafc32080e32d4b299b27479717a0ceeabf0546b57b54ecf01c931')
-b2sums=('519c40837dcbcf382faf691d6b551f20ea36d8b310386500548e21e7e64545d0192b48a3265ba32b71de5b45295df8994799fc0e1064eefdc9a9d7c67d8ebb00')
-
-check() {
-  local _app_min_major_version="$(xq '.info.dependencies.nextcloud["@min-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
-  local _app_max_major_version="$(xq '.info.dependencies.nextcloud["@max-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
-  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() {
-  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 1011833, nextcloud-app-deck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-05 19:25:47 UTC (rev 1011834)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+
+pkgname=nextcloud-app-deck
+_name=deck
+pkgver=1.5.1
+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')
+depends=('nextcloud>21' 'nextcloud<23')
+makedepends=('ripgrep' 'yq')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud-releases/${_name}/releases/download/v${pkgver}/${_name}.tar.gz")
+sha512sums=('a0fc4fcda91f33471c32462894086d5d54d81946a975d4d3b2b839ae1c09698c474d2521584607348fbb77a8aa9ad8500d238adcc7aa4cf607ecf017bd2c77c7')
+b2sums=('78a9d3070f2c0aff1da961cb578e454991f4245485d52c4959aaf8a21f92238e9a3ee649fc80d94186e2214b068430d87b868882d1542376a9a5949650801c19')
+
+check() {
+  local _app_min_major_version="$(xq '.info.dependencies.nextcloud["@min-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
+  local _app_max_major_version="$(xq '.info.dependencies.nextcloud["@max-version"]' "${_name}/appinfo/info.xml"| sed 's/"//g')"
+  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() {
+  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