[arch-commits] Commit in nextcloud-app-deck/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Jul 7 08:40:31 UTC 2021
Date: Wednesday, July 7, 2021 @ 08:40:31
Author: dvzrv
Revision: 974229
archrelease: copy trunk to community-any
Added:
nextcloud-app-deck/repos/community-any/PKGBUILD
(from rev 974228, 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-07-07 08:40:22 UTC (rev 974228)
+++ PKGBUILD 2021-07-07 08:40:31 UTC (rev 974229)
@@ -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.4.2
-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<22')
-makedepends=('ripgrep' 'yq')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/${_name}/releases/download/v${pkgver}/${_name}.tar.gz")
-sha512sums=('62cde0f4a4f35e51cceb68ec9fb071344fd51f07fe0cc0eb6ee2b4760cbf3e8bac47c89bbf0261851ba08c178755938df48fbb7c4bc3d5914391d6fd115092c2')
-b2sums=('fe5a00a63d62b83fe295e4b2ac0a36673549f67770b003dae15b668b48bf676cd2b11870e8cd9ff95df90e49b9b81f4601d9d9f2cdcd2d255a71c2de8da597cc')
-
-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 974228, nextcloud-app-deck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-07 08:40:31 UTC (rev 974229)
@@ -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.4.2
+pkgrel=2
+# 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/${_name}/releases/download/v${pkgver}/${_name}.tar.gz")
+sha512sums=('62cde0f4a4f35e51cceb68ec9fb071344fd51f07fe0cc0eb6ee2b4760cbf3e8bac47c89bbf0261851ba08c178755938df48fbb7c4bc3d5914391d6fd115092c2')
+b2sums=('fe5a00a63d62b83fe295e4b2ac0a36673549f67770b003dae15b668b48bf676cd2b11870e8cd9ff95df90e49b9b81f4601d9d9f2cdcd2d255a71c2de8da597cc')
+
+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