[arch-commits] Commit in nextcloud-app-spreed/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Dec 13 18:53:42 UTC 2021
Date: Monday, December 13, 2021 @ 18:53:41
Author: dvzrv
Revision: 1072079
archrelease: copy trunk to community-any
Added:
nextcloud-app-spreed/repos/community-any/PKGBUILD
(from rev 1072078, nextcloud-app-spreed/trunk/PKGBUILD)
Deleted:
nextcloud-app-spreed/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-13 18:53:23 UTC (rev 1072078)
+++ PKGBUILD 2021-12-13 18:53:41 UTC (rev 1072079)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=spreed
-pkgname=nextcloud-app-spreed
-pkgver=13.0.0
-pkgrel=1
-epoch=1
-pkgdesc="Video & audio-conferencing using WebRTC"
-arch=(any)
-url="https://apps.nextcloud.com/apps/spreed"
-license=(AGPL3)
-groups=(nextcloud-apps)
-makedepends=(nextcloud)
-checkdepends=(ripgrep yq)
-source=("https://github.com/nextcloud-releases/${_name}/releases/download/v${pkgver}/${_name}-v${pkgver}.tar.gz")
-sha512sums=('34358d0feb2d7a41ebff4191493e213e1fd26b21dabb00bce080032761e61020dcc32a6b247c9f051e71a4db27a0bb8fe6290cf2b3a18962e7146643096b7111')
-b2sums=('579209c908f0c412888af50b5d747abb19385c571c5eaa58caaffe1b38a675cf6f4c4c63d425cde1506984a64c3052e01e9e587b22e24ba90ab06ea378ab8160')
-
-_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)
-}
-
-prepare() {
- find ${_name} -type f -exec chmod 644 {} +
- find ${_name} -type d -exec chmod 755 {} +
-}
-
-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}")"<0)) || (("$(vercmp "${_nextcloud_major_version}" "${_app_max_major_version}")">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-spreed/repos/community-any/PKGBUILD (from rev 1072078, nextcloud-app-spreed/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-13 18:53:41 UTC (rev 1072079)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=spreed
+pkgname=nextcloud-app-spreed
+pkgver=13.0.1
+pkgrel=1
+epoch=1
+pkgdesc="Video & audio-conferencing using WebRTC"
+arch=(any)
+url="https://apps.nextcloud.com/apps/spreed"
+license=(AGPL3)
+groups=(nextcloud-apps)
+makedepends=(nextcloud)
+checkdepends=(ripgrep yq)
+source=("https://github.com/nextcloud-releases/${_name}/releases/download/v${pkgver}/${_name}-v${pkgver}.tar.gz")
+sha512sums=('1c7acc6ceb870b3515b9082f681997885a97e849b5836c07234ac87bc930e3fe2f3cd993a6d4e30d6cc49e739ccd00c0c9ed2b34b4f294aa067dc28e7226cd38')
+b2sums=('bf6b3644a3a2ca2267290f4f111bbd38dcadd2ffc34b313482ad96aea7160a544cca1de6e0767b25fd62ad36099239aa05be0dcf34e4315bf4f49d939f2653eb')
+
+_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)
+}
+
+prepare() {
+ find ${_name} -type f -exec chmod 644 {} +
+ find ${_name} -type d -exec chmod 755 {} +
+}
+
+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}")"<0)) || (("$(vercmp "${_nextcloud_major_version}" "${_app_max_major_version}")">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