[arch-commits] Commit in (5 files)

Felix Yan fyan at nymeria.archlinux.org
Fri Nov 1 07:07:07 UTC 2013


    Date: Friday, November 1, 2013 @ 08:07:07
  Author: fyan
Revision: 100065

addpkg: wiznote 2.0.59-1

Added:
  wiznote/
  wiznote/repos/
  wiznote/trunk/
  wiznote/trunk/PKGBUILD
  wiznote/trunk/wiznote.install

-----------------+
 PKGBUILD        |   28 ++++++++++++++++++++++++++++
 wiznote.install |   12 ++++++++++++
 2 files changed, 40 insertions(+)

Added: wiznote/trunk/PKGBUILD
===================================================================
--- wiznote/trunk/PKGBUILD	                        (rev 0)
+++ wiznote/trunk/PKGBUILD	2013-11-01 07:07:07 UTC (rev 100065)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Albert.Zhou <albert.zhou at wiz.cn>
+
+pkgname=wiznote
+pkgver=2.0.59
+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') # indirect: qt5-declarative qt5-sensors zlib glic gcc-libs
+makedepends=('cmake' 'qt5-tools' 'git')
+install=wiznote.install
+_wiznote_project_name="WizQTClient"
+source=("git+https://github.com/WizTeam/${_wiznote_project_name}.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+build() {
+    cd $_wiznote_project_name
+    cmake -DWIZNOTE_USE_QT5=YES -DCMAKE_INSTALL_PREFIX=/usr/ .
+	make
+}
+
+package() {
+	cd $_wiznote_project_name
+	make DESTDIR="$pkgdir/" install
+}


Property changes on: wiznote/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: wiznote/trunk/wiznote.install
===================================================================
--- wiznote/trunk/wiznote.install	                        (rev 0)
+++ wiznote/trunk/wiznote.install	2013-11-01 07:07:07 UTC (rev 100065)
@@ -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
+}




More information about the arch-commits mailing list