summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrLi2021-01-09 09:36:10 +0800
committerBrLi2021-01-09 09:36:10 +0800
commita5e2d604768de962f4ffbf5e17a05d2cd7776a97 (patch)
tree4b9bb6acf2b6f8eec2067006fc0d3473f64a3cdc
parent60923117b07d54b778eb00c00f7904475d23b958 (diff)
downloadaur-a5e2d604768de962f4ffbf5e17a05d2cd7776a97.tar.gz
remove zh-tw translation
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD7
-rw-r--r--install2
3 files changed, 7 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 87c8c46a39cb..0b6dd9beddd6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zettlr
pkgdesc = A markdown editor for writing academic texts and taking notes
pkgver = 1.8.5
- pkgrel = 1
+ pkgrel = 2
url = https://www.zettlr.com
install = install
arch = x86_64
@@ -15,9 +15,8 @@ pkgbase = zettlr
optdepends = ttf-lato: Display output in a more comfortable way
options = !strip
source = zettlr-1.8.5.tar.gz::https://github.com/Zettlr/Zettlr/archive/v1.8.5.tar.gz
- source = locales-1-1.8.5.zip::https://github.com/citation-style-language/locales/archive/ecb8e70233e9a68e8b1dda4586061be8f8611a38.zip
- source = chicago-author-date-1.8.5-1.csl::https://github.com/citation-style-language/styles/raw/a7899732910f5e69aae7799bf4e61505716c211b/chicago-author-date.csl
- source = zh-TW-1.8.5-1.json::https://raw.githubusercontent.com/Brli/zettlr-zh-TW/60ef7ec4cb8ba0a6da924d89c60d6d39d1c8b729/zh-TW.json
+ source = locales-2-1.8.5.zip::https://github.com/citation-style-language/locales/archive/ecb8e70233e9a68e8b1dda4586061be8f8611a38.zip
+ source = chicago-author-date-1.8.5-2.csl::https://github.com/citation-style-language/styles/raw/a7899732910f5e69aae7799bf4e61505716c211b/chicago-author-date.csl
sha256sums = 59a89ea4c86cf64920b540c0734566dbf737f08c6f48256fc8de124f65aebade
sha256sums = 24503a6cd5b3651a7003353811ae82d3ed707ec8ff932d341668c2ad377434b6
sha256sums = 2b7cd6c1c9be4add8c660fb9c6ca54f1b6c3c4f49d6ed9fa39c9f9b10fcca6f4
diff --git a/PKGBUILD b/PKGBUILD
index e53841c6022f..196944d870de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zettlr
pkgver=1.8.5
-pkgrel=1
+pkgrel=2
pkgdesc="A markdown editor for writing academic texts and taking notes"
arch=('x86_64')
url='https://www.zettlr.com'
@@ -14,15 +14,12 @@ optdepends=('pandoc: For exporting to various format'
'ttf-lato: Display output in a more comfortable way')
_csl_locale_commit=ecb8e70233e9a68e8b1dda4586061be8f8611a38 # Dec 11, 2020
_csl_style_commit=a7899732910f5e69aae7799bf4e61505716c211b
-_zh_tw_commit=60ef7ec4cb8ba0a6da924d89c60d6d39d1c8b729 # matches 1.8.4
options=(!strip)
install=install
source=("$pkgname-$pkgver.tar.gz::https://github.com/Zettlr/Zettlr/archive/v$pkgver.tar.gz"
# citation style
"locales-$pkgrel-$pkgver.zip::https://github.com/citation-style-language/locales/archive/$_csl_locale_commit.zip"
- "chicago-author-date-$pkgver-$pkgrel.csl::https://github.com/citation-style-language/styles/raw/$_csl_style_commit/chicago-author-date.csl"
- # Chinese(Taiwan) translation
- "zh-TW-$pkgver-$pkgrel.json::https://raw.githubusercontent.com/Brli/zettlr-zh-TW/$_zh_tw_commit/zh-TW.json")
+ "chicago-author-date-$pkgver-$pkgrel.csl::https://github.com/citation-style-language/styles/raw/$_csl_style_commit/chicago-author-date.csl")
sha256sums=('59a89ea4c86cf64920b540c0734566dbf737f08c6f48256fc8de124f65aebade'
'24503a6cd5b3651a7003353811ae82d3ed707ec8ff932d341668c2ad377434b6'
'2b7cd6c1c9be4add8c660fb9c6ca54f1b6c3c4f49d6ed9fa39c9f9b10fcca6f4'
diff --git a/install b/install
index 0f31d91b82c0..134c25522f13 100644
--- a/install
+++ b/install
@@ -1,6 +1,8 @@
post_upgrade() {
+ if (( $(vercmp $2 1.8.4-3) < 0)); then
msg 'There are fix for pandoc export command'
msg 'In order to use the new command, make sure to "reset" it once under Advanced tab of Preference'
msg 'Or, if it contains customizations,'
msg 'Replace `--citeproc --bibliography "$bibliography$"` with `$bibliography$`.'
+ fi
}