summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Andersson2016-03-24 22:44:41 +0100
committerMaxim Andersson2016-03-24 22:44:41 +0100
commit9e11432e9bdde95dd3161dabbeabc0ab68c6b6c8 (patch)
tree1dfc5bd586fde9093aa6aeae1b9d2f10954f9297
parent4bcb83b88c539ddfb488967dbc578e95f1521807 (diff)
downloadaur-9e11432e9bdde95dd3161dabbeabc0ab68c6b6c8.tar.gz
Add .desktop file
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
-rw-r--r--abricotine.desktop11
3 files changed, 23 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 94ec3d3d2e68..8b336ce3cccf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
# Generated by mksrcinfo v8
-# Fri Mar 11 20:11:45 UTC 2016
+# Thu Mar 24 21:43:06 UTC 2016
pkgbase = abricotine
pkgdesc = A markdown editor with inline preview
pkgver = 0.3.0
- pkgrel = 1
+ pkgrel = 2
url = http://abricotine.brrd.fr
arch = i686
arch = x86_64
license = GPL3
makedepends = npm
source = https://github.com/brrd/abricotine/archive/0.3.0.tar.gz
+ source = abricotine.desktop
sha256sums = f17b36273eb9b86b9a45b76a168c70d71e25ba87bc5d4ff75ff06aafb8a1e7d7
+ sha256sums = 48ca6ce5c5f7ac5713ad9b199d8627abb8385f5bbd85b8cd9754da2ee9c11432
pkgname = abricotine
diff --git a/PKGBUILD b/PKGBUILD
index d643098f15c8..d9dc623e0892 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,16 @@
pkgname=abricotine
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="A markdown editor with inline preview"
arch=('i686' 'x86_64')
url="http://abricotine.brrd.fr"
license=('GPL3')
makedepends=('npm')
-source=("https://github.com/brrd/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('f17b36273eb9b86b9a45b76a168c70d71e25ba87bc5d4ff75ff06aafb8a1e7d7')
+source=("https://github.com/brrd/${pkgname}/archive/${pkgver}.tar.gz"
+ "${pkgname}.desktop")
+sha256sums=('f17b36273eb9b86b9a45b76a168c70d71e25ba87bc5d4ff75ff06aafb8a1e7d7'
+ '48ca6ce5c5f7ac5713ad9b199d8627abb8385f5bbd85b8cd9754da2ee9c11432')
build() {
cd "${srcdir}/${pkgname^}-${pkgver}"
@@ -26,6 +28,9 @@ package() {
install -d "${pkgdir}/usr/bin"
ln -s "/opt/${pkgname}/${pkgname^}" "${pkgdir}/usr/bin/${pkgname}"
+
+ install -Dm644 "../${pkgname}.desktop" -t "${pkgdir}/usr/share/applications/"
+ install -Dm644 "icons/${pkgname}@2x.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}
# vim:set ts=2 sw=2 et:
diff --git a/abricotine.desktop b/abricotine.desktop
new file mode 100644
index 000000000000..41b5080a33a6
--- /dev/null
+++ b/abricotine.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Abricotine
+GenericName=Abricotine
+Comment=A markdown editor with inline preview
+Exec=abricotine
+Icon=abricotine
+Terminal=false
+Type=Application
+Category=Office;TextEditor;
+MimeType=text/x-markdown;
+Keywords=Text;Editor;Markdown;