[arch-commits] Commit in zettlr/repos/community-x86_64 (6 files)

Caleb Maclennan alerque at gemini.archlinux.org
Wed Jun 8 13:48:59 UTC 2022


    Date: Wednesday, June 8, 2022 @ 13:48:59
  Author: alerque
Revision: 1229299

archrelease: copy trunk to community-x86_64

Added:
  zettlr/repos/community-x86_64/PKGBUILD
    (from rev 1229298, zettlr/trunk/PKGBUILD)
  zettlr/repos/community-x86_64/zettlr.sh
    (from rev 1229298, zettlr/trunk/zettlr.sh)
  zettlr/repos/community-x86_64/zettlr.xml
    (from rev 1229298, zettlr/trunk/zettlr.xml)
Deleted:
  zettlr/repos/community-x86_64/PKGBUILD
  zettlr/repos/community-x86_64/zettlr.sh
  zettlr/repos/community-x86_64/zettlr.xml

------------+
 PKGBUILD   |  148 +++++++++++++++++++++++++++++------------------------------
 zettlr.sh  |    6 +-
 zettlr.xml |   36 +++++++-------
 3 files changed, 95 insertions(+), 95 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-08 13:48:48 UTC (rev 1229298)
+++ PKGBUILD	2022-06-08 13:48:59 UTC (rev 1229299)
@@ -1,74 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: BrLi <brli at chakralinux dot org>
-
-pkgname=zettlr
-_pkgname=${pkgname^}
-pkgver=2.2.6
-pkgrel=1
-pkgdesc='A Markdown Editor for the 21st century'
-arch=(x86_64)
-url=https://www.zettlr.com
-_url="https://github.com/$_pkgname/$_pkgname"
-license=(GPL)
-_electron=electron17
-depends=(crimson-font
-         $_electron
-         pandoc
-         ttf-inconsolata
-         ttf-liberation)
-makedepends=(gendesk
-             git
-             nodejs-lts-gallium # grep NODE_VERSION .github/workflows/build.yml
-             yarn)
-optdepends=('texlive-bin: For Latex support')
-# Migration path for soon to be deleted AUR package; remove if ever reinstated
-replaces=(zettlr-bin)
-_archive="$_pkgname-$pkgver"
-source=("$_url/archive/v$pkgver/$_archive.tar.gz"
-        "$pkgname.sh"
-        "$pkgname.xml")
-sha256sums=('6c6643a541f133f810c7620c3af584916c240405fd8d662ac3fe01719588eaf6'
-            'e300f2cac217f98ab5c365dccc7581410bc296f2842d52f7f1520dd6679d20cf'
-            'c3ecbb490a1d4fa5bc42f7166cc375e5629a452d25bb1d4facb5541938681292')
-
-_yarnargs="--cache-folder '$srcdir/cache' --link-folder '$srcdir/link'"
-
-prepare() {
-	local _electronVersion=$($_electron --version | sed -e 's/^v//')
-	gendesk -q -f -n \
-		--pkgname "$pkgname" \
-		--pkgdesc "$pkgdesc" \
-		--name "$_pkgname" \
-		--categories 'Office' \
-		--mimetypes 'text/markdown' \
-		--custom StartupWMClass="$_pkgname"
-	cd "$_archive"
-	echo -ne '#!/usr/bin/env bash\n\nexit 0' > scripts/get-pandoc.sh
-	sed -i -e '/"electron"/d' package.json
-	sed -e "s/@ELECTRON@/$_electron/" "../${source[1]}" > $pkgname.sh
-	yarn $_yarnargs install --frozen-lockfile --ignore-scripts
-	yarn $_yarnargs add --dev --no-lockfile electron@$_electronVersion
-	yarn $_yarnargs install --pure-lockfile # postinstall script installs electron-builder deps
-	ln -sf /usr/bin/pandoc resources/pandoc-linux-x64
-}
-
-build() {
-	cd "$_archive"
-	local NODE_ENV=''
-	yarn $_yarnargs reveal:build
-	yarn $_yarnargs package:linux-x64
-}
-
-package() {
-	install -Dm0644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop"
-	cd "$_archive"
-	install -Dm0755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
-	local _destdir="usr/lib/$pkgname"
-	install -Dm0644 -t "$pkgdir/$_destdir/" \
-		"out/$_pkgname-linux-x64/resources/"{app.asar,icon.code.icns}
-	for px in 16 24 32 48 64 96 128 256 512 1024; do
-		install -Dm0644 "resources/icons/png/${px}x${px}.png" \
-			"$pkgdir/usr/share/icons/hicolor/${px}x${px}/apps/$pkgname.png"
-	done
-	install -Dm0644 -t "$pkgdir/usr/share/mime/packages/" "../${source[2]}"
-}

Copied: zettlr/repos/community-x86_64/PKGBUILD (from rev 1229298, zettlr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-08 13:48:59 UTC (rev 1229299)
@@ -0,0 +1,74 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: BrLi <brli at chakralinux dot org>
+
+pkgname=zettlr
+_pkgname=${pkgname^}
+pkgver=2.3.0
+pkgrel=1
+pkgdesc='A Markdown Editor for the 21st century'
+arch=(x86_64)
+url=https://www.zettlr.com
+_url="https://github.com/$_pkgname/$_pkgname"
+license=(GPL)
+_electron=electron17
+depends=(crimson-font
+         $_electron
+         pandoc
+         ttf-inconsolata
+         ttf-liberation)
+makedepends=(gendesk
+             git
+             nodejs-lts-gallium # grep NODE_VERSION .github/workflows/build.yml
+             yarn)
+optdepends=('texlive-bin: For Latex support')
+# Migration path for soon to be deleted AUR package; remove if ever reinstated
+replaces=(zettlr-bin)
+_archive="$_pkgname-$pkgver"
+source=("$_url/archive/v$pkgver/$_archive.tar.gz"
+        "$pkgname.sh"
+        "$pkgname.xml")
+sha256sums=('5b9bea09d48f74f0fa8e232cee4b9022d7b9b23d16c23e1acfa7093f6f6971eb'
+            'e300f2cac217f98ab5c365dccc7581410bc296f2842d52f7f1520dd6679d20cf'
+            'c3ecbb490a1d4fa5bc42f7166cc375e5629a452d25bb1d4facb5541938681292')
+
+_yarnargs="--cache-folder '$srcdir/cache' --link-folder '$srcdir/link'"
+
+prepare() {
+	local _electronVersion=$($_electron --version | sed -e 's/^v//')
+	gendesk -q -f -n \
+		--pkgname "$pkgname" \
+		--pkgdesc "$pkgdesc" \
+		--name "$_pkgname" \
+		--categories 'Office' \
+		--mimetypes 'text/markdown' \
+		--custom StartupWMClass="$_pkgname"
+	cd "$_archive"
+	echo -ne '#!/usr/bin/env bash\n\nexit 0' > scripts/get-pandoc.sh
+	sed -i -e '/"electron"/d' package.json
+	sed -e "s/@ELECTRON@/$_electron/" "../${source[1]}" > $pkgname.sh
+	yarn $_yarnargs install --frozen-lockfile --ignore-scripts
+	yarn $_yarnargs add --dev --no-lockfile electron@$_electronVersion
+	yarn $_yarnargs install --pure-lockfile # postinstall script installs electron-builder deps
+	ln -sf /usr/bin/pandoc resources/pandoc-linux-x64
+}
+
+build() {
+	cd "$_archive"
+	local NODE_ENV=''
+	yarn $_yarnargs reveal:build
+	yarn $_yarnargs package:linux-x64
+}
+
+package() {
+	install -Dm0644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop"
+	cd "$_archive"
+	install -Dm0755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+	local _destdir="usr/lib/$pkgname"
+	install -Dm0644 -t "$pkgdir/$_destdir/" \
+		"out/$_pkgname-linux-x64/resources/"{app.asar,icon.code.icns}
+	for px in 16 24 32 48 64 96 128 256 512 1024; do
+		install -Dm0644 "resources/icons/png/${px}x${px}.png" \
+			"$pkgdir/usr/share/icons/hicolor/${px}x${px}/apps/$pkgname.png"
+	done
+	install -Dm0644 -t "$pkgdir/usr/share/mime/packages/" "../${source[2]}"
+}

Deleted: zettlr.sh
===================================================================
--- zettlr.sh	2022-06-08 13:48:48 UTC (rev 1229298)
+++ zettlr.sh	2022-06-08 13:48:59 UTC (rev 1229299)
@@ -1,3 +0,0 @@
-#!/usr/bin/env sh
-
-exec @ELECTRON@ /usr/lib/zettlr/app.asar "$@"

Copied: zettlr/repos/community-x86_64/zettlr.sh (from rev 1229298, zettlr/trunk/zettlr.sh)
===================================================================
--- zettlr.sh	                        (rev 0)
+++ zettlr.sh	2022-06-08 13:48:59 UTC (rev 1229299)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+exec @ELECTRON@ /usr/lib/zettlr/app.asar "$@"

Deleted: zettlr.xml
===================================================================
--- zettlr.xml	2022-06-08 13:48:48 UTC (rev 1229298)
+++ zettlr.xml	2022-06-08 13:48:59 UTC (rev 1229299)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
-    <mime-type type="text/markdown">
-        <glob pattern="*.md"/>
-            <comment>Markdown document</comment>
-        <icon name="x-office-document" />
-    </mime-type>
-    <mime-type type="text/markdown">
-        <glob pattern="*.markdown"/>
-            <comment>Markdown document</comment>
-        <icon name="x-office-document" />
-    </mime-type>
-    <mime-type type="text/markdown">
-        <glob pattern="*.rmd"/>
-            <comment>RMarkdown document</comment>
-        <icon name="x-office-document" />
-    </mime-type>
-</mime-info>

Copied: zettlr/repos/community-x86_64/zettlr.xml (from rev 1229298, zettlr/trunk/zettlr.xml)
===================================================================
--- zettlr.xml	                        (rev 0)
+++ zettlr.xml	2022-06-08 13:48:59 UTC (rev 1229299)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+    <mime-type type="text/markdown">
+        <glob pattern="*.md"/>
+            <comment>Markdown document</comment>
+        <icon name="x-office-document" />
+    </mime-type>
+    <mime-type type="text/markdown">
+        <glob pattern="*.markdown"/>
+            <comment>Markdown document</comment>
+        <icon name="x-office-document" />
+    </mime-type>
+    <mime-type type="text/markdown">
+        <glob pattern="*.rmd"/>
+            <comment>RMarkdown document</comment>
+        <icon name="x-office-document" />
+    </mime-type>
+</mime-info>



More information about the arch-commits mailing list