Date: Monday, December 7, 2015 @ 01:27:01 Author: bpiotrowski Revision: 149411
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: wiznote/repos/community-staging-i686/ wiznote/repos/community-staging-i686/PKGBUILD (from rev 149410, wiznote/trunk/PKGBUILD) wiznote/repos/community-staging-i686/wiznote.install (from rev 149410, wiznote/trunk/wiznote.install) wiznote/repos/community-staging-x86_64/ wiznote/repos/community-staging-x86_64/PKGBUILD (from rev 149410, wiznote/trunk/PKGBUILD) wiznote/repos/community-staging-x86_64/wiznote.install (from rev 149410, wiznote/trunk/wiznote.install) ------------------------------------------+ community-staging-i686/PKGBUILD | 45 +++++++++++++++++++++++++++++ community-staging-i686/wiznote.install | 12 +++++++ community-staging-x86_64/PKGBUILD | 45 +++++++++++++++++++++++++++++ community-staging-x86_64/wiznote.install | 12 +++++++ 4 files changed, 114 insertions(+) Copied: wiznote/repos/community-staging-i686/PKGBUILD (from rev 149410, wiznote/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-07 00:27:01 UTC (rev 149411) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Albert.Zhou <albert.z...@wiz.cn> + +pkgname=wiznote +pkgver=2.3.1 +_commit=632cf999ce9a81d47244b4b77813ac3eaf020c89 +pkgrel=2 +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 +# 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") +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 + + rm -rf build; mkdir build +} + +build() { + cd build + + cmake \ + -DWIZNOTE_USE_QT5=YES \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + ../$_wiznote_project_name + make +} + +package() { + cd build + make DESTDIR="$pkgdir/" install +} Copied: wiznote/repos/community-staging-i686/wiznote.install (from rev 149410, wiznote/trunk/wiznote.install) =================================================================== --- community-staging-i686/wiznote.install (rev 0) +++ community-staging-i686/wiznote.install 2015-12-07 00:27:01 UTC (rev 149411) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: wiznote/repos/community-staging-x86_64/PKGBUILD (from rev 149410, wiznote/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-07 00:27:01 UTC (rev 149411) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Albert.Zhou <albert.z...@wiz.cn> + +pkgname=wiznote +pkgver=2.3.1 +_commit=632cf999ce9a81d47244b4b77813ac3eaf020c89 +pkgrel=2 +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 +# 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") +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 + + rm -rf build; mkdir build +} + +build() { + cd build + + cmake \ + -DWIZNOTE_USE_QT5=YES \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + ../$_wiznote_project_name + make +} + +package() { + cd build + make DESTDIR="$pkgdir/" install +} Copied: wiznote/repos/community-staging-x86_64/wiznote.install (from rev 149410, wiznote/trunk/wiznote.install) =================================================================== --- community-staging-x86_64/wiznote.install (rev 0) +++ community-staging-x86_64/wiznote.install 2015-12-07 00:27:01 UTC (rev 149411) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}