diff options
Diffstat (limited to 'community/wiznote')
-rw-r--r-- | community/wiznote/PKGBUILD | 28 | ||||
-rw-r--r-- | community/wiznote/wiznote.install | 12 |
2 files changed, 40 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 +} diff --git a/community/wiznote/wiznote.install b/community/wiznote/wiznote.install new file mode 100644 index 000000000..d43ea7c35 --- /dev/null +++ b/community/wiznote/wiznote.install @@ -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 +} |