[arch-commits] Commit in nextcloud-client/repos (2 files)

2020-12-15 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, December 15, 2020 @ 16:42:17
  Author: yan12125
Revision: 775997

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 775996, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   88 +
 1 file changed, 88 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
775996, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-12-15 16:42:17 UTC (rev 775997)
@@ -0,0 +1,88 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgbase=nextcloud-client
+pkgname=(nextcloud-client nextcloud-client-cloudproviders)
+# Upstream does not provide signed tarballs (yet)
+# https://github.com/nextcloud/desktop/issues/1510
+pkgver=3.1.0
+pkgrel=1
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+makedepends=(libcloudproviders openssl sqlite
+ qt5-quickcontrols2 qt5-svg qt5-tools qt5-webengine qtkeychain
+ extra-cmake-modules kio
+ cmocka doxygen git python-sphinx)
+source=("$pkgbase::git+https://github.com/nextcloud/desktop.git?signed#tag=v$pkgver";)
+validpgpkeys=(
+  A26B951528EA1BA1678C7AE5D406C75CEE1A36D6  # one of keys controlled by 
github.com/camilasan
+  42E775EAA3E47F9E0D5CDB0E00819E3BF4177B28  # controlled by github.com/misch7
+  17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2  # https://github.com/er-vin.gpg
+)
+sha256sums=('SKIP')
+
+prepare() {
+  # tmpdir for check()
+  mkdir tmpdir
+
+  # Use system GNUInstallDirs.cmake so that we can benefit from
+  # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735
+  rm -v $pkgbase/cmake/modules/GNUInstallDirs.cmake
+}
+
+build() {
+  cd $pkgbase
+
+  # bundled breakpad in libcrashreporter-qt submodule is too old and does not 
build with glibc >= 2.26
+  # Upstream fix: 
https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d
+  cmake -B build -S . \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DNO_SHIBBOLETH=1 \
+-DWITH_CRASHREPORTER=OFF \
+-DUNIT_TESTING=ON
+
+  # TODO: fix installation of PDF and HTML documents
+  # WIP at https://github.com/yan12125/desktop/tree/doc-install-path
+  make -C build all doc-man
+}
+
+check() {
+  cd $pkgbase/build
+
+  # Tests fail if $TMPDIR is too small; specify an alternative for machines
+  # with a small /tmp partition.
+  TMPDIR="$srcdir/tmpdir" make test
+}
+
+package_nextcloud-client() {
+  pkgdesc='Nextcloud desktop client'
+  depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils 
libcloudproviders
+   qt5-graphicaleffects qt5-quickcontrols2)
+  optdepends=(
+'kio: integration with Dolphin'
+'nemo-python: integration with Nemo'
+'python-nautilus: integration with Nautilus'
+'python-caja: integration with Caja'
+'nextcloud-client-cloudproviders: cloudproviders support'
+  )
+  backup=('etc/Nextcloud/sync-exclude.lst')
+
+  cd $pkgbase/build
+
+  make DESTDIR="$pkgdir" install
+
+  rm -v "$pkgdir"/usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
+  rm -v "$pkgdir"/usr/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
+  cd "$pkgdir"/usr/share && rmdir -p cloud-providers dbus-1/services
+}
+
+package_nextcloud-client-cloudproviders() {
+  pkgdesc='cloudproviders support for the Nextcloud desktop client'
+  depends=(nextcloud-client)
+
+  cd $pkgbase/build
+  make -C shell_integration/libcloudproviders DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2020-11-08 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, November 8, 2020 @ 14:33:32
  Author: yan12125
Revision: 746595

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 746594, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   87 +
 1 file changed, 87 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
746594, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-11-08 14:33:32 UTC (rev 746595)
@@ -0,0 +1,87 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgbase=nextcloud-client
+pkgname=(nextcloud-client nextcloud-client-cloudproviders)
+# Upstream does not provide signed tarballs (yet)
+# https://github.com/nextcloud/desktop/issues/1510
+pkgver=3.0.3
+pkgrel=2
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+makedepends=(libcloudproviders openssl sqlite
+ qt5-quickcontrols2 qt5-svg qt5-tools qt5-webengine qtkeychain
+ extra-cmake-modules kio
+ cmocka doxygen git python-sphinx)
+source=("$pkgbase::git+https://github.com/nextcloud/desktop.git?signed#tag=v$pkgver";)
+validpgpkeys=(
+  A26B951528EA1BA1678C7AE5D406C75CEE1A36D6  # one of keys controlled by 
github.com/camilasan
+  42E775EAA3E47F9E0D5CDB0E00819E3BF4177B28  # controlled by github.com/misch7
+  17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2  # https://github.com/er-vin.gpg
+)
+sha256sums=('SKIP')
+
+prepare() {
+  # tmpdir for check()
+  mkdir tmpdir
+
+  # Use system GNUInstallDirs.cmake so that we can benefit from
+  # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735
+  rm -v $pkgbase/cmake/modules/GNUInstallDirs.cmake
+}
+
+build() {
+  cd $pkgbase
+
+  # bundled breakpad in libcrashreporter-qt submodule is too old and does not 
build with glibc >= 2.26
+  # Upstream fix: 
https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d
+  cmake -B build -S . \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DNO_SHIBBOLETH=1 \
+-DWITH_CRASHREPORTER=OFF \
+-DUNIT_TESTING=ON
+
+  # TODO: fix installation of PDF and HTML documents
+  # WIP at https://github.com/yan12125/desktop/tree/doc-install-path
+  make -C build all doc-man
+}
+
+check() {
+  cd $pkgbase/build
+
+  # Tests fail if $TMPDIR is too small; specify an alternative for machines
+  # with a small /tmp partition.
+  TMPDIR="$srcdir/tmpdir" make test
+}
+
+package_nextcloud-client() {
+  pkgdesc='Nextcloud desktop client'
+  depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils 
libcloudproviders
+   qt5-graphicaleffects qt5-quickcontrols2)
+  optdepends=(
+'kio: integration with Dolphin'
+'nemo-python: integration with Nemo'
+'python-nautilus: integration with Nautilus'
+'python-caja: integration with Caja'
+'nextcloud-client-cloudproviders: cloudproviders support'
+  )
+  backup=('etc/Nextcloud/sync-exclude.lst')
+
+  cd $pkgbase/build
+
+  make DESTDIR="$pkgdir" install
+
+  rm -v "$pkgdir"/usr/share/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
+  rm -v "$pkgdir"/usr/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
+}
+
+package_nextcloud-client-cloudproviders() {
+  pkgdesc='cloudproviders support for the Nextcloud desktop client'
+  depends=(nextcloud-client)
+
+  cd $pkgbase/build
+  make -C shell_integration/libcloudproviders DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2020-11-01 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, November 1, 2020 @ 10:04:01
  Author: yan12125
Revision: 738811

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 738810, nextcloud-client/trunk/PKGBUILD)

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

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
738810, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-11-01 10:04:01 UTC (rev 738811)
@@ -0,0 +1,70 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+# Upstream does not provide signed tarballs (yet)
+# https://github.com/nextcloud/desktop/issues/1510
+pkgver=3.0.3
+pkgrel=1
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils 
libcloudproviders
+ qt5-graphicaleffects qt5-quickcontrols2)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools git 
cmocka)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python-caja: integration with Caja'
+)
+source=("$pkgname::git+https://github.com/nextcloud/desktop.git?signed#tag=v$pkgver";)
+validpgpkeys=(
+  A26B951528EA1BA1678C7AE5D406C75CEE1A36D6  # one of keys controlled by 
github.com/camilasan
+  42E775EAA3E47F9E0D5CDB0E00819E3BF4177B28  # controlled by github.com/misch7
+  17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2  # https://github.com/er-vin.gpg
+)
+sha256sums=('SKIP')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  # tmpdir for check()
+  mkdir tmpdir
+
+  # Use system GNUInstallDirs.cmake so that we can benefit from
+  # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735
+  rm -v $pkgname/cmake/modules/GNUInstallDirs.cmake
+}
+
+build() {
+  cd $pkgname
+
+  # bundled breakpad in libcrashreporter-qt submodule is too old and does not 
build with glibc >= 2.26
+  # Upstream fix: 
https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d
+  cmake -B build -S . \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DNO_SHIBBOLETH=1 \
+-DWITH_CRASHREPORTER=OFF \
+-DUNIT_TESTING=ON
+
+  # TODO: fix installation of PDF and HTML documents
+  # WIP at https://github.com/yan12125/desktop/tree/doc-install-path
+  make -C build all doc-man
+}
+
+check() {
+  cd $pkgname/build
+
+  # Tests fail if $TMPDIR is too small; specify an alternative for machines
+  # with a small /tmp partition.
+  TMPDIR="$srcdir/tmpdir" make test
+}
+
+package() {
+  cd $pkgname/build
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2020-09-25 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, September 26, 2020 @ 04:48:44
  Author: yan12125
Revision: 712362

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 712361, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   72 +
 1 file changed, 72 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
712361, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-09-26 04:48:44 UTC (rev 712362)
@@ -0,0 +1,72 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+# Upstream does not provide signed tarballs (yet)
+# https://github.com/nextcloud/desktop/issues/236#issuecomment-540538247
+pkgver=3.0.2
+# Updated by 
https://git.archlinux.org/users/eschwartz/pacman.git/patch/?id=d8e7dfb71f562ecc491772ecec29a322822ad7d3
+frozen_revision=(068ad89d8d1a7133f9f645b07fbc21fc619726f2)
+pkgrel=1
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils 
libcloudproviders
+ qt5-graphicaleffects qt5-quickcontrols2)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools git 
cmocka)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python-caja: integration with Caja'
+)
+source=("$pkgname::git+https://github.com/nextcloud/desktop.git?signed#tag=v$pkgver";)
+validpgpkeys=(
+  A26B951528EA1BA1678C7AE5D406C75CEE1A36D6  # one of keys controlled by 
github.com/camilasan
+  42E775EAA3E47F9E0D5CDB0E00819E3BF4177B28  # controlled by github.com/misch7
+  17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2  # https://github.com/er-vin.gpg
+)
+sha256sums=('SKIP')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  # tmpdir for check()
+  mkdir tmpdir
+
+  # Use system GNUInstallDirs.cmake so that we can benefit from
+  # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735
+  rm -v $pkgname/cmake/modules/GNUInstallDirs.cmake
+}
+
+build() {
+  cd $pkgname
+
+  # bundled breakpad in libcrashreporter-qt submodule is too old and does not 
build with glibc >= 2.26
+  # Upstream fix: 
https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d
+  cmake -B build -S . \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DNO_SHIBBOLETH=1 \
+-DWITH_CRASHREPORTER=OFF \
+-DUNIT_TESTING=ON
+
+  # TODO: fix installation of PDF and HTML documents
+  # WIP at https://github.com/yan12125/desktop/tree/doc-install-path
+  make -C build all doc-man
+}
+
+check() {
+  cd $pkgname/build
+
+  # Tests fail if $TMPDIR is too small; specify an alternative for machines
+  # with a small /tmp partition.
+  TMPDIR="$srcdir/tmpdir" make test
+}
+
+package() {
+  cd $pkgname/build
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2020-08-18 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, August 18, 2020 @ 16:15:20
  Author: yan12125
Revision: 683994

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 683993, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   73 +
 1 file changed, 73 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
683993, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-08-18 16:15:20 UTC (rev 683994)
@@ -0,0 +1,73 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+# Upstream does not provide signed tarballs (yet)
+# https://github.com/nextcloud/desktop/issues/236#issuecomment-540538247
+pkgver=3.0.0
+_commit=ff175088a391007b66bfca89ef35cf29e37cf001
+pkgrel=1
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils 
libcloudproviders
+ qt5-graphicaleffects qt5-quickcontrols2)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools git 
cmocka)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python-caja: integration with Caja'
+)
+# Not using ?signed here as only the tag is properly signed, not the commit.
+# See https://github.com/nextcloud/desktop/issues/2185
+source=("$pkgname::git+https://github.com/nextcloud/desktop.git#commit=$_commit";)
+validpgpkeys=(
+  A26B951528EA1BA1678C7AE5D406C75CEE1A36D6  # one of keys controlled by 
github.com/camilasan
+  42E775EAA3E47F9E0D5CDB0E00819E3BF4177B28  # controlled by github.com/misch7
+  17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2  # https://github.com/er-vin.gpg
+)
+sha256sums=('SKIP')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  # tmpdir for check()
+  mkdir tmpdir
+
+  # Use system GNUInstallDirs.cmake so that we can benefit from
+  # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735
+  rm -v $pkgname/cmake/modules/GNUInstallDirs.cmake
+}
+
+build() {
+  cd $pkgname
+
+  # bundled breakpad in libcrashreporter-qt submodule is too old and does not 
build with glibc >= 2.26
+  # Upstream fix: 
https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d
+  cmake -B build -S . \
+-DCMAKE_BUILD_TYPE=None \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DNO_SHIBBOLETH=1 \
+-DWITH_CRASHREPORTER=OFF \
+-DUNIT_TESTING=ON
+
+  # TODO: fix installation of PDF and HTML documents
+  # WIP at https://github.com/yan12125/desktop/tree/doc-install-path
+  make -C build all doc-man
+}
+
+check() {
+  cd $pkgname/build
+
+  # Tests fail if $TMPDIR is too small; specify an alternative for machines
+  # with a small /tmp partition.
+  TMPDIR="$srcdir/tmpdir" make test
+}
+
+package() {
+  cd $pkgname/build
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2019-09-27 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, September 28, 2019 @ 05:56:26
  Author: yan12125
Revision: 511957

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 511956, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   67 +
 1 file changed, 67 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
511956, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-09-28 05:56:26 UTC (rev 511957)
@@ -0,0 +1,67 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+pkgver=2.6.0
+_commit=e0b32c19e4dd641f4edf74fc3fbdba3d86ca9784
+pkgrel=1
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools git 
cmocka)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python2-caja: integration with Caja'
+)
+source=("$pkgname::git+https://github.com/nextcloud/desktop.git?signed#commit=$_commit";)
+validpgpkeys=(
+  A26B951528EA1BA1678C7AE5D406C75CEE1A36D6  # one of keys controlled by 
github.com/camilasan
+)
+sha256sums=('SKIP')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  # tmpdir for check()
+  mkdir tmpdir $pkgname/build
+
+  # Use system GNUInstallDirs.cmake so that we can benefit from
+  # https://gitlab.kitware.com/cmake/cmake/merge_requests/3735
+  rm -v $pkgname/cmake/modules/GNUInstallDirs.cmake
+}
+
+build() {
+  cd $pkgname/build
+
+  # bundled breakpad in libcrashreporter-qt submodule is too old and does not 
build with glibc >= 2.26
+  # Upstream fix: 
https://github.com/google/breakpad/commit/bddcc58860f522a0d4cbaa7e9d04058caee0db9d
+  cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DNO_SHIBBOLETH=1 \
+-DWITH_CRASHREPORTER=OFF \
+-DUNIT_TESTING=ON \
+..
+
+  make
+  # TODO: fix installation of PDF and HTML documents
+  # WIP at https://github.com/yan12125/desktop/tree/doc-install-path
+  make doc-man
+}
+
+check() {
+  cd $pkgname/build
+
+  # Tests fail if $TMPDIR is too small; specify an alternative for machines
+  # with a small /tmp partition.
+  TMPDIR="$srcdir/tmpdir" make test ARGS="-V"
+}
+
+package() {
+  cd $pkgname/build
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2019-07-22 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, July 23, 2019 @ 03:06:58
  Author: yan12125
Revision: 492611

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 492610, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
492610, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-07-23 03:06:58 UTC (rev 492611)
@@ -0,0 +1,47 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+pkgver=2.5.3
+pkgrel=1
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(openssl sqlite qtkeychain qt5-svg qt5-webengine xdg-utils)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python2-caja: integration with Caja'
+)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/nextcloud/desktop/archive/v$pkgver.tar.gz";)
+sha256sums=('d1b6d991b579c961370c6a1fcc883272ad92588e86dc157ca61dfccc7e315f9f')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  cd desktop-$pkgver
+
+  mkdir -p build
+}
+
+build() {
+  cd desktop-$pkgver/build
+
+  cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DNO_SHIBBOLETH=1 \
+..
+
+  make
+  make doc-man
+}
+
+package() {
+  cd desktop-$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2018-12-19 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, December 19, 2018 @ 14:04:09
  Author: yan12125
Revision: 416761

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 416760, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
416760, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-12-19 14:04:09 UTC (rev 416761)
@@ -0,0 +1,56 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+pkgver=2.5.1
+pkgrel=2
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(sqlite qtkeychain qt5-svg qt5-webengine qt5-webkit xdg-utils)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python2-caja: integration with Caja'
+)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/nextcloud/desktop/archive/v$pkgver.tar.gz";
+
fix-build-with-qt5.12.patch::https://github.com/nextcloud/desktop/commit/129588442041c32b0d98f2361a69e0e350592f70.patch
+
fix-login-crash.patch::https://github.com/yan12125/desktop/commit/09b0055dc3fe8ffae64dae7af9f522ed12ebdea8.patch)
+sha256sums=('48be2556f4fddb956ad31e954be5f9c73482e936a80ec0efaeb30549dcd81f19'
+'69182f7f75428420385cde58a9e038c6c326105c3bccbe55f9a7bb1814e3f3fd'
+'3443f76b1480bb66b71bd94284ae91f8d689e525e55a399b878bf48ad80b5beb')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  cd desktop-$pkgver
+
+  patch -Np1 -i ../fix-build-with-qt5.12.patch
+
+  # https://github.com/nextcloud/desktop/issues/941
+  # https://bugs.archlinux.org/task/61106
+  patch -Np1 -i ../fix-login-crash.patch
+
+  mkdir -p build
+}
+
+build() {
+  cd desktop-$pkgver/build
+
+  cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+..
+
+  make
+  make doc-man
+}
+
+package() {
+  cd desktop-$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2018-12-04 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, December 4, 2018 @ 15:18:02
  Author: yan12125
Revision: 411157

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 411156, nextcloud-client/trunk/PKGBUILD)

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

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
411156, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-12-04 15:18:02 UTC (rev 411157)
@@ -0,0 +1,46 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+pkgver=2.5.1
+pkgrel=1
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(sqlite qtkeychain qt5-svg qt5-webengine qt5-webkit xdg-utils)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python2-caja: integration with Caja'
+)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/nextcloud/desktop/archive/v$pkgver.tar.gz";)
+sha256sums=('48be2556f4fddb956ad31e954be5f9c73482e936a80ec0efaeb30549dcd81f19')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  cd desktop-$pkgver
+
+  mkdir -p build
+}
+
+build() {
+  cd desktop-$pkgver/build
+
+  cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+..
+
+  make
+  make doc-man
+}
+
+package() {
+  cd desktop-$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in nextcloud-client/repos (2 files)

2018-11-17 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, November 17, 2018 @ 15:02:59
  Author: yan12125
Revision: 408552

archrelease: copy trunk to community-testing-x86_64

Added:
  nextcloud-client/repos/community-testing-x86_64/
  nextcloud-client/repos/community-testing-x86_64/PKGBUILD
(from rev 408551, nextcloud-client/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: nextcloud-client/repos/community-testing-x86_64/PKGBUILD (from rev 
408551, nextcloud-client/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-11-17 15:02:59 UTC (rev 408552)
@@ -0,0 +1,51 @@
+# Maintainer: Chih-Hsuan Yen 
+# Contributor: Tyler Dence 
+# Contributor: Konstantin Shalygin 
+
+pkgname=nextcloud-client
+pkgver=2.5.0
+pkgrel=4
+pkgdesc='Nextcloud desktop client'
+arch=(x86_64)
+url='https://nextcloud.com/'
+license=(GPL)
+depends=(sqlite qtkeychain qt5-svg qt5-webengine qt5-webkit xdg-utils)
+makedepends=(doxygen extra-cmake-modules kio python-sphinx qt5-tools)
+optdepends=(
+  'kio: integration with Dolphin'
+  'nemo-python: integration with Nemo'
+  'python-nautilus: integration with Nautilus'
+  'python2-caja: integration with Caja'
+)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/nextcloud/desktop/archive/v$pkgver.tar.gz";
+
fix-man-pages.patch::https://github.com/nextcloud/desktop/commit/d6feb984c3e0d6d3c17868d36da8380bcc05e55b.patch)
+sha256sums=('4d639f43e49fd4367cd1b99bf21aecb2eac3bd89a7b0d96c7d2a0975baad6528'
+'1203cdb5480ef52bfe0ae6f1b9dc13f8e53ed3272fd691400c50897310dd28c3')
+backup=('etc/Nextcloud/sync-exclude.lst')
+
+prepare() {
+  cd desktop-$pkgver
+
+  mkdir -p build
+
+  # https://github.com/nextcloud/desktop/issues/699
+  patch -Np1 -i ../fix-man-pages.patch
+}
+
+build() {
+  cd desktop-$pkgver/build
+
+  cmake \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+..
+
+  make
+  make doc-man
+}
+
+package() {
+  cd desktop-$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+}