summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBłażej Szczygieł2016-08-01 19:03:49 +0200
committerBłażej Szczygieł2016-08-01 19:03:49 +0200
commitae60ec7f7ac5d9b7a816f9ccb16bf8c26e1c03c7 (patch)
treee56c9a95b1911e84929297571bd6a9dfe6d5e192 /PKGBUILD
downloadaur-kiiro-notes-git.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e6a45cdcb28
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: zaps166 <spaz16@wp.pl>
+
+pkgname=kiiro-notes-git
+pkgver=0.0.1
+pkgrel=1
+pkgdesc='Simple notes for Linux desktop'
+arch=('i686' 'x86_64' 'armv7' 'armv6' 'armv5')
+url='https://github.com/zaps166/KiiroNotes'
+license=('GPL')
+depends=('qt5-base')
+makedepends=('make' 'gcc' 'git' 'qt5-tools')
+source=('git+https://github.com/zaps166/KiiroNotes')
+sha256sums=('SKIP')
+
+pkgver()
+{
+ grep "setApplicationVersion" "$srcdir"/KiiroNotes/src/main.cpp | cut -c33-37
+}
+
+build()
+{
+ cd "$srcdir"/KiiroNotes/src
+ lrelease-qt5 KiiroNotes.pro
+ qmake-qt5
+ time make
+}
+
+package()
+{
+ install -D -m 755 "$srcdir"/KiiroNotes/src/KiiroNotes "$pkgdir"/usr/bin/KiiroNotes
+ cp -r "$srcdir"/KiiroNotes/share "$pkgdir"/usr
+}