summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD44
2 files changed, 37 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 99560ba8b4f..7899ceb2cf2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,26 +1,26 @@
pkgbase = marktext-bin
pkgdesc = A simple and elegant open-source markdown editor that focused on speed and usability.
- pkgver = 0.14.0.rc.1
+ pkgver = 0.14.0
pkgrel = 1
url = https://marktext.app
arch = x86_64
license = MIT
provides = marktext
conflicts = marktext
- source = marktext-0.14.0-rc.1.tar.gz::https://github.com/marktext/marktext/releases/download/v0.14.0-rc.1/marktext-0.14.0-rc.1-x64.tar.gz
- source = icon48.png::https://github.com/marktext/marktext/raw/master/resources/icons/48x48/marktext.png
- source = icon64.png::https://github.com/marktext/marktext/raw/master/resources/icons/64x64/marktext.png
- source = icon128.png::https://github.com/marktext/marktext/raw/master/resources/icons/128x128/marktext.png
- source = icon256.png::https://github.com/marktext/marktext/raw/master/resources/icons/256x256/marktext.png
- source = icon512.png::https://github.com/marktext/marktext/raw/master/resources/icons/512x512/marktext.png
+ source = marktext-bin-0.14.0.tar.gz::https://github.com/marktext/marktext/releases/download/v0.14.0/marktext-0.14.0-x64.tar.gz
+ source = marktext-icon-48.png::https://github.com/marktext/marktext/raw/master/resources/icons/48x48/marktext.png
+ source = marktext-icon-64.png::https://github.com/marktext/marktext/raw/master/resources/icons/64x64/marktext.png
+ source = marktext-icon-128.png::https://github.com/marktext/marktext/raw/master/resources/icons/128x128/marktext.png
+ source = marktext-icon-256.png::https://github.com/marktext/marktext/raw/master/resources/icons/256x256/marktext.png
+ source = marktext-icon-512.png::https://github.com/marktext/marktext/raw/master/resources/icons/512x512/marktext.png
source = marktext.desktop::https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/marktext.desktop
- sha256sums = 05675e228a71c366774410db24af582f7fc4bc0e535e870268199de09fc21200
- sha256sums = e2f07abbbed4bc6f146cef52958ebec5ec8ed6e606a884934430d3525a2bbae7
- sha256sums = e2f07abbbed4bc6f146cef52958ebec5ec8ed6e606a884934430d3525a2bbae7
- sha256sums = 5dcee26e0a80b78534a71af0b6e5b425e0e030f31c1880699923999b22848536
- sha256sums = d00f87911e70a76a4a9eb13da40e535fd2aa99486c768c1906156b6ba5df7c1b
- sha256sums = bb55503655caa407094514c9f086aca13ebd66bd178bfe3394c63464a66ba727
- sha256sums = b4b32ec6708bff77de07521fd3870bf0bd8a4ad094e52e80ca47d0390783c86d
+ sha512sums = 8e485ac0c599d149ab4a04666b8ba58f77c5576d2cf70b5e81d2748d69b3c9d79a92ca9b3d3d7ea6d643f7ef12145ccd4c3a8f093436962161fd73c9704e6ae3
+ sha512sums = 39ee566a087950b88c165903ee00a86ab6f6c7fe9c86d715fdc87af144e47b06713f604e10ff09c0d9dde5a62a160376e20657a5d1dcb68d1b1901f976741336
+ sha512sums = 9bd243eda4888d8ae15991d9595d1dcf7992c00b4193406b7cc7e74ae86c1afcd1948979710494b65d504807a9393edd6c01ff3125776ebf5eb3061f29b57dd4
+ sha512sums = 7b2a5ee74bbc24e10940ac7ef0bf82f9d73c7d981f8d5a90bb58fc857a417176d69a77995b43eb696ddb0d237c11dccd4ae6ed337accc0a27ab54f1bcdc2064d
+ sha512sums = 3461f1c9cb29e103861101dc3ed0c6f24536d99bab78182b12c296a09ce7a9d249620e9788526184311af761a994b846877c84161922a7d0a0355f178d1aa4fc
+ sha512sums = 2effb4e6be7f68f3c55b98c0d7c41a23bf4b1a5e9bf3d1544a5f642ef8764c63cb75bdc98b039278948dd21185899142fc688c6f70a3d38f8e6af54aefbda00c
+ sha512sums = 98886b39342ca90fe1c2ff011e612e62c37cba589cd1f8ee71dc8d6df7db1582798cef844cfc6ab50e29f5f2e21edc2a16c88b480298cfd719058e47ff754982
pkgname = marktext-bin
diff --git a/PKGBUILD b/PKGBUILD
index 6933d4ab5fc..43e054216da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,7 @@
pkgname=marktext-bin
_pkgname=marktext
-pkgver=0.14.0.rc.1
-_pkgver=0.14.0-rc.1
+pkgver=0.14.0
pkgrel=1
pkgdesc='A simple and elegant open-source markdown editor that focused on speed and usability.'
arch=('x86_64')
@@ -11,29 +10,31 @@ url='https://marktext.app'
license=('MIT')
provides=('marktext')
conflicts=('marktext')
-source=($_pkgname-$_pkgver.tar.gz::https://github.com/marktext/marktext/releases/download/v$_pkgver/$_pkgname-$_pkgver-x64.tar.gz
- icon48.png::https://github.com/marktext/marktext/raw/master/resources/icons/48x48/marktext.png
- icon64.png::https://github.com/marktext/marktext/raw/master/resources/icons/64x64/marktext.png
- icon128.png::https://github.com/marktext/marktext/raw/master/resources/icons/128x128/marktext.png
- icon256.png::https://github.com/marktext/marktext/raw/master/resources/icons/256x256/marktext.png
- icon512.png::https://github.com/marktext/marktext/raw/master/resources/icons/512x512/marktext.png
+source=($pkgname-$pkgver.tar.gz::https://github.com/marktext/marktext/releases/download/v$pkgver/$_pkgname-$pkgver-x64.tar.gz
+ $_pkgname-icon-48.png::https://github.com/marktext/marktext/raw/master/resources/icons/48x48/marktext.png
+ $_pkgname-icon-64.png::https://github.com/marktext/marktext/raw/master/resources/icons/64x64/marktext.png
+ $_pkgname-icon-128.png::https://github.com/marktext/marktext/raw/master/resources/icons/128x128/marktext.png
+ $_pkgname-icon-256.png::https://github.com/marktext/marktext/raw/master/resources/icons/256x256/marktext.png
+ $_pkgname-icon-512.png::https://github.com/marktext/marktext/raw/master/resources/icons/512x512/marktext.png
$_pkgname.desktop::https://raw.githubusercontent.com/marktext/marktext/master/resources/linux/marktext.desktop
)
-sha256sums=('05675e228a71c366774410db24af582f7fc4bc0e535e870268199de09fc21200'
- 'e2f07abbbed4bc6f146cef52958ebec5ec8ed6e606a884934430d3525a2bbae7'
- 'e2f07abbbed4bc6f146cef52958ebec5ec8ed6e606a884934430d3525a2bbae7'
- '5dcee26e0a80b78534a71af0b6e5b425e0e030f31c1880699923999b22848536'
- 'd00f87911e70a76a4a9eb13da40e535fd2aa99486c768c1906156b6ba5df7c1b'
- 'bb55503655caa407094514c9f086aca13ebd66bd178bfe3394c63464a66ba727'
- 'b4b32ec6708bff77de07521fd3870bf0bd8a4ad094e52e80ca47d0390783c86d')
+sha512sums=('8e485ac0c599d149ab4a04666b8ba58f77c5576d2cf70b5e81d2748d69b3c9d79a92ca9b3d3d7ea6d643f7ef12145ccd4c3a8f093436962161fd73c9704e6ae3'
+ '39ee566a087950b88c165903ee00a86ab6f6c7fe9c86d715fdc87af144e47b06713f604e10ff09c0d9dde5a62a160376e20657a5d1dcb68d1b1901f976741336'
+ '9bd243eda4888d8ae15991d9595d1dcf7992c00b4193406b7cc7e74ae86c1afcd1948979710494b65d504807a9393edd6c01ff3125776ebf5eb3061f29b57dd4'
+ '7b2a5ee74bbc24e10940ac7ef0bf82f9d73c7d981f8d5a90bb58fc857a417176d69a77995b43eb696ddb0d237c11dccd4ae6ed337accc0a27ab54f1bcdc2064d'
+ '3461f1c9cb29e103861101dc3ed0c6f24536d99bab78182b12c296a09ce7a9d249620e9788526184311af761a994b846877c84161922a7d0a0355f178d1aa4fc'
+ '2effb4e6be7f68f3c55b98c0d7c41a23bf4b1a5e9bf3d1544a5f642ef8764c63cb75bdc98b039278948dd21185899142fc688c6f70a3d38f8e6af54aefbda00c'
+ '98886b39342ca90fe1c2ff011e612e62c37cba589cd1f8ee71dc8d6df7db1582798cef844cfc6ab50e29f5f2e21edc2a16c88b480298cfd719058e47ff754982')
prepare() {
- sed -i "s|Exec=.*|Exec=/usr/lib/marktext/marktext %F|" $srcdir/$_pkgname.desktop
+ # Change desktop entry to execute /usr/lib/marktext/marktext
+ sed -i "s|Exec=.*|Exec=/usr/lib/marktext/marktext %F|" \
+ $srcdir/$_pkgname.desktop
}
package() {
install -d $pkgdir/usr/lib
- cp -rT $srcdir/$_pkgname-$_pkgver-x64 $pkgdir/usr/lib/$_pkgname
+ cp -rT $srcdir/$_pkgname-$pkgver-x64 $pkgdir/usr/lib/$_pkgname
# Install desktop entry
install -Dm644 $srcdir/$_pkgname.desktop \
@@ -41,14 +42,15 @@ package() {
# Install icons
for s in 48 64 128 256 512; do
- install -Dm644 $srcdir/icon$s.png \
+ install -Dm644 $srcdir/$_pkgname-icon-$s.png \
$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/$_pkgname.png
done
- install -Dm644 $srcdir/icon512.png $pkgdir/usr/share/pixmaps/$_pkgname.png
+ install -Dm644 $srcdir/$_pkgname-icon-512.png \
+ $pkgdir/usr/share/pixmaps/$_pkgname.png
- # Install license
+ # Install licenses
for i in LICENSE LICENSE.electron.txt LICENSES.chromium.html; do
- install -Dm644 $srcdir/$_pkgname-$_pkgver-x64/$i \
+ install -Dm644 $srcdir/$_pkgname-$pkgver-x64/$i \
$pkgdir/usr/share/licenses/$_pkgname/$i
done
}