summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Seifferth2019-11-20 19:00:23 +0000
committerFrank Seifferth2019-11-20 19:01:02 +0000
commit2988cdf345c41af8daa30f7b26e58134b09c647a (patch)
treeb9838306914ee440ebc69009450e1ac3c37ae06e
parentaad08a8c9d5b80178f92ad9d456d607a0519e1fe (diff)
downloadaur-2988cdf345c41af8daa30f7b26e58134b09c647a.tar.gz
Replace old abricotine-bin package with new one (v0.7.0)
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD36
-rw-r--r--abricotine.desktop11
3 files changed, 37 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9fcb27fdc79..3d89a68154d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,17 @@
-# Generated by mksrcinfo v8
-# Sat Mar 19 10:00:26 UTC 2016
pkgbase = abricotine-bin
pkgdesc = A markdown editor with inline preview
- pkgver = 0.3.0
+ pkgver = 0.7.0
pkgrel = 1
url = http://abricotine.brrd.fr
- arch = i686
arch = x86_64
license = GPL3
- provides = abricotine
+ depends = gconf
+ depends = libxss
conflicts = abricotine
- source_i686 = Abricotine-0.3.0-ia32.zip::https://github.com/brrd/Abricotine/releases/download/0.3.0/Abricotine-linux-ia32.zip
- sha256sums_i686 = 225f8b37ba69f1e9b3e9a7a0c325baaa78cca19e306c62fdf46e35dd1c7c00dc
- source_x86_64 = Abricotine-0.3.0-x64.zip::https://github.com/brrd/Abricotine/releases/download/0.3.0/Abricotine-linux-x64.zip
- sha256sums_x86_64 = 702c9255d10abc273e7b43c53f6d71c256b4984dcdb47e07a1a7b11617cec257
+ source = https://github.com/brrd/Abricotine/releases/download/0.7.0/Abricotine-0.7.0-linux-x64.tar.gz
+ source = abricotine.desktop
+ sha256sums = 46e96c2d6e89817ce709eec723a2ae886b7a865dd0e68478c37441023b517acc
+ sha256sums = 164d0042ffe461ca0418709a59be29b433055589b661be4d6555c07df42b383c
pkgname = abricotine-bin
diff --git a/PKGBUILD b/PKGBUILD
index c22ac7b8abe0..1f261ea29393 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,29 @@
-# Maintainer: Maxim Andersson <thesilentboatman@gmail.com>
+# Maintainer: Frank Seifferth <frankseifferth@posteo.net>
pkgname=abricotine-bin
-_binname=Abricotine
-pkgver=0.3.0
+_pkgname=abricotine
+conflicts=("abricotine")
+pkgver=0.7.0
pkgrel=1
pkgdesc="A markdown editor with inline preview"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://abricotine.brrd.fr"
license=('GPL3')
-provides=('abricotine')
-conflicts=('abricotine')
-source_i686=("${_binname}-${pkgver}-ia32.zip::https://github.com/brrd/${_binname}/releases/download/${pkgver}/${_binname}-linux-ia32.zip")
-source_x86_64=("${_binname}-${pkgver}-x64.zip::https://github.com/brrd/${_binname}/releases/download/${pkgver}/${_binname}-linux-x64.zip")
-sha256sums_i686=('225f8b37ba69f1e9b3e9a7a0c325baaa78cca19e306c62fdf46e35dd1c7c00dc')
-sha256sums_x86_64=('702c9255d10abc273e7b43c53f6d71c256b4984dcdb47e07a1a7b11617cec257')
+depends=('gconf' 'libxss')
+source=("https://github.com/brrd/Abricotine/releases/download/$pkgver/Abricotine-$pkgver-linux-x64.tar.gz"
+ "abricotine.desktop")
+sha256sums=('46e96c2d6e89817ce709eec723a2ae886b7a865dd0e68478c37441023b517acc'
+ '164d0042ffe461ca0418709a59be29b433055589b661be4d6555c07df42b383c')
package() {
- cd "${srcdir}/${_binname}-linux-"*
- install -d "${pkgdir}/opt/${_binname,,}"
- cp -ra * "${pkgdir}/opt/${_binname,,}"
+ cd "$srcdir/Abricotine-linux-x64"
- install -d "${pkgdir}/usr/bin"
- ln -s "/opt/${_binname,,}/${_binname}" "${pkgdir}/usr/bin/${_binname,,}"
-}
+ install -d "$pkgdir/opt/abricotine"
+ cp -r * "$pkgdir/opt/abricotine"
+
+ install -d "$pkgdir/usr/bin"
+ ln -s "/opt/abricotine/Abricotine" "$pkgdir/usr/bin/abricotine"
-# vim:set ts=2 sw=2 et:
+ install -Dm644 "../abricotine.desktop" -t "$pkgdir/usr/share/applications/"
+ install -Dm644 "icons/abricotine@2x.png" "$pkgdir/usr/share/pixmaps/abricotine.png"
+}
diff --git a/abricotine.desktop b/abricotine.desktop
new file mode 100644
index 000000000000..29aae338cf05
--- /dev/null
+++ b/abricotine.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Abricotine
+GenericName=Abricotine
+Comment=A markdown editor with inline preview
+Exec=abricotine %F
+Icon=abricotine
+Terminal=false
+Type=Application
+Categories=Office;TextEditor;
+MimeType=text/markdown;
+Keywords=Text;Editor;Markdown;