[arch-commits] Commit in nextcloud-app-deck/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon May 3 14:44:03 UTC 2021
Date: Monday, May 3, 2021 @ 14:44:03
Author: dvzrv
Revision: 927211
archrelease: copy trunk to community-any
Added:
nextcloud-app-deck/repos/community-any/PKGBUILD
(from rev 927210, 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-05-03 14:43:55 UTC (rev 927210)
+++ PKGBUILD 2021-05-03 14:44:03 UTC (rev 927211)
@@ -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.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<22')
-makedepends=('ripgrep' 'yq')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/${_name}/releases/download/v${pkgver}/${_name}.tar.gz")
-sha512sums=('6e2d68636e3fe1c451b0756f11467c80c050f7cf46aa679895cc17e36e92f3f7f62bcf2f3c2b830424b717a80f67cea37f05354ee52ecba317f2b2e5fe4973c5')
-b2sums=('bf793a429d034d3205251a2a062f31057e571a83d33f28dc6164a72282c714f2d2deefdccba74c1b69c10ef5301c6cec017d77b9e369215bafd7532662d98af3')
-
-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 927210, nextcloud-app-deck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-03 14:44:03 UTC (rev 927211)
@@ -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=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/"
+}
More information about the arch-commits
mailing list