diff options
author | Maxim Andersson | 2016-03-24 22:44:41 +0100 |
---|---|---|
committer | Maxim Andersson | 2016-03-24 22:44:41 +0100 |
commit | 9e11432e9bdde95dd3161dabbeabc0ab68c6b6c8 (patch) | |
tree | 1dfc5bd586fde9093aa6aeae1b9d2f10954f9297 | |
parent | 4bcb83b88c539ddfb488967dbc578e95f1521807 (diff) | |
download | aur-9e11432e9bdde95dd3161dabbeabc0ab68c6b6c8.tar.gz |
Add .desktop file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | abricotine.desktop | 11 |
3 files changed, 23 insertions, 5 deletions
@@ -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 @@ -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; |