summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMidov2015-11-25 19:51:31 +0100
committerMidov2015-11-25 19:54:22 +0100
commit1f3cfae77b3fe721fbfed6f1379710af54732184 (patch)
tree06d02085e6ea26a2fa9f1cd7834cd9e028b8e10e
parent5256812411b151cf7cf4f8dd6ce001ca11f0caf7 (diff)
downloadaur-1f3cfae77b3fe721fbfed6f1379710af54732184.tar.gz
added desktop file and upped version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
-rw-r--r--qownnotes.desktop9
3 files changed, 18 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7497bb67afbc..d2c3b70a32aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,5 +9,7 @@ pkgbase = qownnotes
makedepends = git
depends = gcc
depends = qt5-base
+ source = https://github.com/pbek/QOwnNotes.git
+ source = qownnotes.desktop
pkgname = qownnotes
diff --git a/PKGBUILD b/PKGBUILD
index 55e8be1ec1fa..9eb7797d58b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Midov <midov at midov dot pl>
pkgname=qownnotes
_pkgname=QOwnNotes
-pkgver=0.57
+pkgver=0.58
pkgrel=1
pkgdesc="Open source notepad for that works together with the notes application of OwnCloud."
url="http://www.qownnotes.org/"
@@ -10,8 +10,10 @@ license=('GPL3')
depends=('gcc' 'qt5-base')
makedepends=('git')
#install=$pkgname.install
-source=(git+"https://github.com/pbek/QOwnNotes.git")
-md5sums=('SKIP')
+source=(git+"https://github.com/pbek/QOwnNotes.git"
+ qownnotes.desktop)
+md5sums=('SKIP'
+ '8ca2a35c8414687048b612bf66f0cf7a')
build() {
cd "${srcdir}/${_pkgname}"
@@ -21,8 +23,10 @@ build() {
make
}
+
package() {
cd "${srcdir}/${_pkgname}"
install -Dm755 "${srcdir}/${_pkgname}/src/${_pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "${srcdir}/qownnotes.desktop "${pkgdir}/usr/share/applications/qownnotes.desktop"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
diff --git a/qownnotes.desktop b/qownnotes.desktop
new file mode 100644
index 000000000000..b5ee612bf2a0
--- /dev/null
+++ b/qownnotes.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=QOwnNotes
+Comment=OwnNotes
+Exec=/usr/bin/qownnotes
+Terminal=false
+Type=Application
+Icon=qownnotes
+Categories=Office;Internet;