summaryrefslogtreecommitdiff
path: root/community/wiznote/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-02 01:12:34 -0700
committerroot <root@rshg054.dnsready.net>2013-11-02 01:12:34 -0700
commiteb9cc495e6d7c131c76f9abc178ac65f1e20fab1 (patch)
tree2666e8ff27419292a76d9f521c1a67dde999b26a /community/wiznote/PKGBUILD
parent22f873a6e3ac2c585a28a1ab2561eaea9765cdc6 (diff)
Sat Nov 2 01:09:32 PDT 2013
Diffstat (limited to 'community/wiznote/PKGBUILD')
-rw-r--r--community/wiznote/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/wiznote/PKGBUILD b/community/wiznote/PKGBUILD
new file mode 100644
index 000000000..f578654c0
--- /dev/null
+++ b/community/wiznote/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 100066 2013-11-01 07:14:23Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Albert.Zhou <albert.zhou@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
+}