[arch-commits] Commit in wiznote/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Apr 15 17:05:06 UTC 2020
Date: Wednesday, April 15, 2020 @ 17:05:05
Author: felixonmars
Revision: 614964
archrelease: copy trunk to community-x86_64
Added:
wiznote/repos/community-x86_64/PKGBUILD
(from rev 614963, wiznote/trunk/PKGBUILD)
Deleted:
wiznote/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 85 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 44 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-15 17:04:47 UTC (rev 614963)
+++ PKGBUILD 2020-04-15 17:05:05 UTC (rev 614964)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Albert.Zhou <albert.zhou at wiz.cn>
-
-pkgname=wiznote
-pkgver=2.8.2
-_commit=d177e5a77e0c7591e552ede28c383982a927d3a9
-pkgrel=1
-pkgdesc="Opensource cross-platform cloud based note-taking client"
-arch=('x86_64')
-url="http://www.wiznote.com"
-license=('GPL3' 'custom')
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'qt5-websockets' 'qt5-webengine'
- 'qt5-svg') # 'crypto++')
-# shared clucene/quazip triggers segfault
-makedepends=('cmake' 'qt5-tools' 'boost')
-source=("$pkgname-$_commit.tar.gz::https://github.com/WizTeam/WizQTClient/archive/$_commit.tar.gz")
-sha512sums=('d2c2582330bd407b7e100ec28af75f79933d352130a813a44ed7a9d7725bad4104d091555a42483c4a5440cdf1288a31775b9ae0cd573034dc1b84df88aaca88')
-
-prepare() {
- #sed -e 's/add_subdirectory(cryptopp)//' \
- # -i WizQTClient-$_commit/lib/CMakeLists.txt
- #sed -e 's/cryptlib/cryptopp/' \
- # -i WizQTClient-$_commit/src/CMakeLists.txt
-
- rm -rf build; mkdir build
-}
-
-build() {
- cd build
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- ../WizQTClient-$_commit
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir/" install
-}
Copied: wiznote/repos/community-x86_64/PKGBUILD (from rev 614963, wiznote/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-15 17:05:05 UTC (rev 614964)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Albert.Zhou <albert.zhou at wiz.cn>
+
+pkgname=wiznote
+pkgver=2.8.3
+_commit=be113e9be899c1559ae5b3a093ee5f05e0364eec
+pkgrel=1
+pkgdesc="Opensource cross-platform cloud based note-taking client"
+arch=('x86_64')
+url="http://www.wiznote.com"
+license=('GPL3' 'custom')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'qt5-websockets' 'qt5-webengine'
+ 'qt5-svg') # 'crypto++')
+# shared clucene/quazip triggers segfault
+makedepends=('cmake' 'qt5-tools' 'boost')
+source=("$pkgname-$_commit.tar.gz::https://github.com/WizTeam/WizQTClient/archive/$_commit.tar.gz")
+sha512sums=('445370ebb239d82a4c1f82db289d9f0f9c43dfb9017cb198b415875b60349353616c3d4052979818be2191f5e5ce19d7f2ebcf21c9328fe39b660df9fb295205')
+
+prepare() {
+ #sed -e 's/add_subdirectory(cryptopp)//' \
+ # -i WizQTClient-$_commit/lib/CMakeLists.txt
+ #sed -e 's/cryptlib/cryptopp/' \
+ # -i WizQTClient-$_commit/src/CMakeLists.txt
+
+ # https://github.com/WizTeam/WizQTClient/issues/610
+ sed -i 's/= nPosition;/= (Json::UInt64)nPosition;/' WizQTClient-$_commit/src/share/WizObject.cpp
+
+ rm -rf build; mkdir build
+}
+
+build() {
+ cd build
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ ../WizQTClient-$_commit
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir/" install
+}
More information about the arch-commits
mailing list