summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-06-27 21:30:45 +0300
committerCaleb Maclennan2020-06-27 21:30:45 +0300
commit8980885b39db7c89788b26060f85a752a902c29e (patch)
tree80eae82dcbe539dfb8a08b210bae2b48aaa24cbf
parent94268dfabe08eee419c2d297875352b0afb8b7fc (diff)
downloadaur-8980885b39db7c89788b26060f85a752a902c29e.tar.gz
upgpkg: marktext-bin 0.16.2-1
upstream release Adopt, update to latest
-rw-r--r--.SRCINFO46
-rw-r--r--PKGBUILD77
2 files changed, 56 insertions, 67 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 29f98a4049d..539e32ee7bb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,35 +1,37 @@
pkgbase = marktext-bin
- pkgdesc = A simple and elegant open-source markdown editor that focused on speed and usability.
- pkgver = 0.15.1
+ pkgdesc = A simple and elegant open-source markdown editor that focused on speed and usability
+ pkgver = 0.16.2
pkgrel = 1
url = https://marktext.app
arch = x86_64
license = MIT
depends = gtk3
+ depends = libsecret
+ depends = libxkbfile
depends = libxss
depends = nss
provides = marktext
conflicts = marktext
- source = marktext-bin-0.15.1.tar.gz::https://github.com/marktext/marktext/releases/download/v0.15.1/marktext-0.15.1-x64.tar.gz
- source = marktext-bin-0.15.1.desktop::https://github.com/marktext/marktext/raw/v0.15.1/resources/linux/marktext.desktop
- source = marktext-bin-16x16.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/16x16/marktext.png
- source = marktext-bin-24x24.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/24x24/marktext.png
- source = marktext-bin-32x32.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/32x32/marktext.png
- source = marktext-bin-48x48.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/48x48/marktext.png
- source = marktext-bin-64x64.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/64x64/marktext.png
- source = marktext-bin-128x128.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/128x128/marktext.png
- source = marktext-bin-256x256.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/256x256/marktext.png
- source = marktext-bin-512x512.png::https://github.com/marktext/marktext/raw/v0.15.1/resources/icons/512x512/marktext.png
- sha512sums = efd4d254040e072f4dbe637262375f1cc5d36b7d83e956e2cdd358a4d442ed9e77a41cad657429fef73891417a3bbaf1bfa71338a125699cac86298df9807d82
- sha512sums = 419b20d75376c2992d47c0f2b445795be716de0bb3f670d52d2e492fe3331c6aae7a898d2ea82259777d5eea68910440de99217aeee1edd585d7f4bb09388f99
- sha512sums = 2d700fb2af037ade7c66e328e90eacfec27fe25d3ee42487f00978450a81bc9275622404cad821a41b4f5a767d9f7afbbe614ed7a0ddbc95d879fb57beef79e2
- sha512sums = 52a8a7f28f620738e06253243e3156d09bc6f9cec6ab49caa2e3674e57be0378d5ab6bc28028ee08caaebd7b197c383ed5f08a5c1c8cb9dce6c9b1c90abb932e
- sha512sums = 840ec0fc95ebeff29902d984113b91906ca5c3fc598fdd515a9b475a373d0c96bcee0c6bb146c8e99ccef2c616db0ee1ddfc44573d78ce9077b4bc2fab1c41e8
- sha512sums = 39ee566a087950b88c165903ee00a86ab6f6c7fe9c86d715fdc87af144e47b06713f604e10ff09c0d9dde5a62a160376e20657a5d1dcb68d1b1901f976741336
- sha512sums = 9bd243eda4888d8ae15991d9595d1dcf7992c00b4193406b7cc7e74ae86c1afcd1948979710494b65d504807a9393edd6c01ff3125776ebf5eb3061f29b57dd4
- sha512sums = 7b2a5ee74bbc24e10940ac7ef0bf82f9d73c7d981f8d5a90bb58fc857a417176d69a77995b43eb696ddb0d237c11dccd4ae6ed337accc0a27ab54f1bcdc2064d
- sha512sums = 3461f1c9cb29e103861101dc3ed0c6f24536d99bab78182b12c296a09ce7a9d249620e9788526184311af761a994b846877c84161922a7d0a0355f178d1aa4fc
- sha512sums = 2effb4e6be7f68f3c55b98c0d7c41a23bf4b1a5e9bf3d1544a5f642ef8764c63cb75bdc98b039278948dd21185899142fc688c6f70a3d38f8e6af54aefbda00c
+ source = marktext-bin-0.16.2.tar.gz::https://github.com/marktext/marktext/releases/download/v0.16.2/marktext-x64.tar.gz
+ source = marktext-bin-0.16.2.desktop::https://github.com/marktext/marktext/raw/v0.16.2/resources/linux/marktext.desktop
+ source = marktext-bin-16x16.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/16x16/marktext.png
+ source = marktext-bin-24x24.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/24x24/marktext.png
+ source = marktext-bin-32x32.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/32x32/marktext.png
+ source = marktext-bin-48x48.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/48x48/marktext.png
+ source = marktext-bin-64x64.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/64x64/marktext.png
+ source = marktext-bin-128x128.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/128x128/marktext.png
+ source = marktext-bin-256x256.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/256x256/marktext.png
+ source = marktext-bin-512x512.png::https://github.com/marktext/marktext/raw/v0.16.2/resources/icons/512x512/marktext.png
+ sha256sums = 036383ceed00e7a9c14eb42bf2b713dbb9fc0122279873efc44ec569a5a2902a
+ sha256sums = 3be693fa7d0b652543c7f74de0df0272ead88743de7be24f286d82d78966fcb3
+ sha256sums = 27ef0b9185f38bdf516db32fa8900e3bfd182937bb14f63a978713d74ad97fa2
+ sha256sums = f67f6826499b5fa25a931b706a7d500972c049fb23f406f4692206dfe1a302fc
+ sha256sums = f6a3e0673b78d9e04e60afba4ed05ea9967c52308175a80f07f06b1125bafebe
+ sha256sums = e2f07abbbed4bc6f146cef52958ebec5ec8ed6e606a884934430d3525a2bbae7
+ sha256sums = 0e72f017950c42e78355e71d80fc9e52a23dd1158f6d1e74a4c7a8c67bd599ac
+ sha256sums = 5dcee26e0a80b78534a71af0b6e5b425e0e030f31c1880699923999b22848536
+ sha256sums = d00f87911e70a76a4a9eb13da40e535fd2aa99486c768c1906156b6ba5df7c1b
+ sha256sums = bb55503655caa407094514c9f086aca13ebd66bd178bfe3394c63464a66ba727
pkgname = marktext-bin
diff --git a/PKGBUILD b/PKGBUILD
index bf1bf6bf899..08518a2b29b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,65 +1,52 @@
-# Maintainer: Alfin Bakhtiar Ilhami <alfin at nuclea dot id>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: Alfin Bakhtiar Ilhami <alfin at nuclea dot id>
pkgname=marktext-bin
-_pkgname=marktext
-pkgver=0.15.1
+_pkgname=${pkgname%-bin}
+pkgver=0.16.2
pkgrel=1
-pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability.'
+pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability'
arch=('x86_64')
url='https://marktext.app'
license=('MIT')
-provides=('marktext')
-conflicts=('marktext')
-depends=('gtk3' 'libxss' 'nss')
-
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+depends=('gtk3' 'libsecret' 'libxkbfile' 'libxss' 'nss')
_source() {
local _github=https://github.com/marktext/marktext
-
- # Binary tarball
- echo $pkgname-$pkgver.tar.gz::$_github/releases/download/v$pkgver/$_pkgname-$pkgver-x64.tar.gz
-
- # Desktop entry
+ echo $pkgname-$pkgver.tar.gz::$_github/releases/download/v$pkgver/$_pkgname-x64.tar.gz
echo $pkgname-$pkgver.desktop::$_github/raw/v$pkgver/resources/linux/$_pkgname.desktop
-
- # Icons
for s in 16 24 32 48 64 128 256 512; do
echo $pkgname-${s}x${s}.png::$_github/raw/v$pkgver/resources/icons/${s}x${s}/$_pkgname.png
done
}
source=($(_source))
+sha256sums=('036383ceed00e7a9c14eb42bf2b713dbb9fc0122279873efc44ec569a5a2902a'
+ '3be693fa7d0b652543c7f74de0df0272ead88743de7be24f286d82d78966fcb3'
+ '27ef0b9185f38bdf516db32fa8900e3bfd182937bb14f63a978713d74ad97fa2'
+ 'f67f6826499b5fa25a931b706a7d500972c049fb23f406f4692206dfe1a302fc'
+ 'f6a3e0673b78d9e04e60afba4ed05ea9967c52308175a80f07f06b1125bafebe'
+ 'e2f07abbbed4bc6f146cef52958ebec5ec8ed6e606a884934430d3525a2bbae7'
+ '0e72f017950c42e78355e71d80fc9e52a23dd1158f6d1e74a4c7a8c67bd599ac'
+ '5dcee26e0a80b78534a71af0b6e5b425e0e030f31c1880699923999b22848536'
+ 'd00f87911e70a76a4a9eb13da40e535fd2aa99486c768c1906156b6ba5df7c1b'
+ 'bb55503655caa407094514c9f086aca13ebd66bd178bfe3394c63464a66ba727')
prepare() {
- # Change desktop entry to execute /usr/lib/marktext/marktext
- sed -i "s|Exec=.*|Exec=/usr/lib/marktext/marktext %F|" \
- "$srcdir/$pkgname-$pkgver.desktop"
+ sed -i -e "s|Exec=.*|Exec=/usr/lib/marktext/marktext %F|" \
+ "$pkgname-$pkgver.desktop"
}
package() {
- install -d "$pkgdir/usr/lib"
- cp -rT "$srcdir/$_pkgname-$pkgver-x64" "$pkgdir/usr/lib/$_pkgname"
-
- # Install desktop entry
- install -Dm644 "$srcdir/$pkgname-$pkgver.desktop" \
- "$pkgdir/usr/share/applications/$_pkgname.desktop"
-
- # Install icons
- for s in 16 24 32 48 64 128 256 512; do
- install -Dm644 "$srcdir/$pkgname-${s}x${s}.png" \
- "$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/$_pkgname.png"
- done
-
- # Install licenses
- install -Dt "$pkgdir/usr/share/licenses/$_pkgname" -m644 \
- "$srcdir/$_pkgname-$pkgver-x64/"{LICENSE,LICENSE.electron.txt,LICENSES.chromium.html}
+ install -d "$pkgdir/usr/lib"
+ cp -rT "$_pkgname-x64" "$pkgdir/usr/lib/$_pkgname"
+ install -Dm644 "$pkgname-$pkgver.desktop" \
+ "$pkgdir/usr/share/applications/$_pkgname.desktop"
+ for s in 16 24 32 48 64 128 256 512; do
+ install -Dm644 "$pkgname-${s}x${s}.png" \
+ "$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/$_pkgname.png"
+ done
+ cd "$_pkgname-x64"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
+ {LICENSE,LICENSE.electron.txt,LICENSES.chromium.html}
}
-
-sha512sums=('efd4d254040e072f4dbe637262375f1cc5d36b7d83e956e2cdd358a4d442ed9e77a41cad657429fef73891417a3bbaf1bfa71338a125699cac86298df9807d82'
- '419b20d75376c2992d47c0f2b445795be716de0bb3f670d52d2e492fe3331c6aae7a898d2ea82259777d5eea68910440de99217aeee1edd585d7f4bb09388f99'
- '2d700fb2af037ade7c66e328e90eacfec27fe25d3ee42487f00978450a81bc9275622404cad821a41b4f5a767d9f7afbbe614ed7a0ddbc95d879fb57beef79e2'
- '52a8a7f28f620738e06253243e3156d09bc6f9cec6ab49caa2e3674e57be0378d5ab6bc28028ee08caaebd7b197c383ed5f08a5c1c8cb9dce6c9b1c90abb932e'
- '840ec0fc95ebeff29902d984113b91906ca5c3fc598fdd515a9b475a373d0c96bcee0c6bb146c8e99ccef2c616db0ee1ddfc44573d78ce9077b4bc2fab1c41e8'
- '39ee566a087950b88c165903ee00a86ab6f6c7fe9c86d715fdc87af144e47b06713f604e10ff09c0d9dde5a62a160376e20657a5d1dcb68d1b1901f976741336'
- '9bd243eda4888d8ae15991d9595d1dcf7992c00b4193406b7cc7e74ae86c1afcd1948979710494b65d504807a9393edd6c01ff3125776ebf5eb3061f29b57dd4'
- '7b2a5ee74bbc24e10940ac7ef0bf82f9d73c7d981f8d5a90bb58fc857a417176d69a77995b43eb696ddb0d237c11dccd4ae6ed337accc0a27ab54f1bcdc2064d'
- '3461f1c9cb29e103861101dc3ed0c6f24536d99bab78182b12c296a09ce7a9d249620e9788526184311af761a994b846877c84161922a7d0a0355f178d1aa4fc'
- '2effb4e6be7f68f3c55b98c0d7c41a23bf4b1a5e9bf3d1544a5f642ef8764c63cb75bdc98b039278948dd21185899142fc688c6f70a3d38f8e6af54aefbda00c')