[arch-commits] Commit in wiznote/trunk (PKGBUILD wiznote.install)

Felix Yan felixonmars at archlinux.org
Fri Oct 21 07:07:57 UTC 2016


    Date: Friday, October 21, 2016 @ 07:07:56
  Author: felixonmars
Revision: 192779

upgpkg: wiznote 2.3.3.20160901-1

Modified:
  wiznote/trunk/PKGBUILD
Deleted:
  wiznote/trunk/wiznote.install

-----------------+
 PKGBUILD        |   22 +++++++++-------------
 wiznote.install |   12 ------------
 2 files changed, 9 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-21 07:00:01 UTC (rev 192778)
+++ PKGBUILD	2016-10-21 07:07:56 UTC (rev 192779)
@@ -3,27 +3,24 @@
 # Contributor: Albert.Zhou <albert.zhou at wiz.cn>
 
 pkgname=wiznote
-pkgver=2.3.3.20151218
-_commit=5976b84919f151652d0c8825f9c50f751b506521
+pkgver=2.3.3.20160901
+_commit=3562d7d93c883d2fccd40e0e2d71155d277a871c
 pkgrel=1
 pkgdesc="Opensource cross-platform cloud based note-taking client"
 arch=('i686' 'x86_64')
 url="http://www.wiznote.com"
 license=('GPL3' 'custom')
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'qt5-base' 'qt5-webkit' 'crypto++') # indirect: qt5-declarative qt5-sensors zlib glic gcc-libs
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'qt5-websockets' 'qt5-webengine') # 'crypto++')
 # shared clucene/quazip triggers segfault
 makedepends=('cmake' 'qt5-tools' 'git' 'boost')
-install=wiznote.install
-_wiznote_project_name="WizQTClient"
-source=("git+https://github.com/WizTeam/${_wiznote_project_name}.git#commit=$_commit")
+source=("git+https://github.com/WizTeam/WizQTClient.git#commit=$_commit")
 md5sums=('SKIP')
 
 prepare() {
-  sed -e 's/add_subdirectory(cryptopp)//' \
-      -i $_wiznote_project_name/lib/CMakeLists.txt
-  
-  sed -e 's/cryptlib/cryptopp/' \
-      -i $_wiznote_project_name/src/CMakeLists.txt
+  #sed -e 's/add_subdirectory(cryptopp)//' \
+  #    -i WizQTClient/lib/CMakeLists.txt
+  #sed -e 's/cryptlib/cryptopp/' \
+  #    -i WizQTClient/src/CMakeLists.txt
 
   rm -rf build; mkdir build
 }
@@ -32,10 +29,9 @@
   cd build
 
   cmake \
-    -DWIZNOTE_USE_QT5=YES \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
-    ../$_wiznote_project_name
+    ../WizQTClient
   make
 }
 

Deleted: wiznote.install
===================================================================
--- wiznote.install	2016-10-21 07:00:01 UTC (rev 192778)
+++ wiznote.install	2016-10-21 07:07:56 UTC (rev 192779)
@@ -1,12 +0,0 @@
-post_install() {
-    xdg-icon-resource forceupdate --theme hicolor &>/dev/null
-    update-desktop-database -q
-}
-
-post_upgrade() {
-    post_install
-}
-
-post_remove() {
-    post_install
-}



More information about the arch-commits mailing list