summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD32
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b32c1ad4a6d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Mon Aug 1 17:03:38 UTC 2016
+pkgbase = kiiro-notes-git
+ pkgdesc = Simple notes for Linux desktop
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/zaps166/KiiroNotes
+ arch = i686
+ arch = x86_64
+ arch = armv7
+ arch = armv6
+ arch = armv5
+ license = GPL
+ makedepends = make
+ makedepends = gcc
+ makedepends = git
+ makedepends = qt5-tools
+ depends = qt5-base
+ source = git+https://github.com/zaps166/KiiroNotes
+ sha256sums = SKIP
+
+pkgname = kiiro-notes-git
+
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
+}