Skip to content

Updated snapcraft.yaml #1

@rsdoiel

Description

@rsdoiel

I was playing with your snapcraft.yaml file to see if I could get a more recent Pandoc installed. Here's the changes I made (dropped pandoc-citedoc as that was archived by the author, also update version number and included SNAPCRAFT_TARGET_ARCH for arm64 support). Here's the diff of the changes. If you like I can fork and submit a pull request.

Cheers, Robert

$ git diff snap/snapcraft.yaml
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 8f0d83b..b6e5304 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,17 +1,17 @@
 name: pandoc-researchhacking
-version: 2.9.2.1
+version: '2.18'
 summary: Tool for converting from one markup format to another
 description: |
   Pandoc is a Haskell library for converting from one markup format to
   another, and a command-line tool that uses this library.
 confinement: strict
 grade: stable
-base: core18
+base: core20
 
 parts:
   pandoc-researchhacking:
     plugin: dump
-    source: https://github.com/jgm/pandoc/releases/download/$SNAPCRAFT_PROJECT_VERSION/pandoc-$SNAPCRAFT_PROJECT_VERSION-linux-amd64.tar.gz
+    source: https://github.com/jgm/pandoc/releases/download/$SNAPCRAFT_PROJECT_VERSION/pandoc-$SNAPCRAFT_PROJECT_VERSION-linux-$SNAPCRAFT_TARGET_ARCH.tar.gz
 
 apps:
   pandoc:
@@ -19,9 +19,3 @@ apps:
     plugs:
       - home
       - removable-media
-
-  pandoc-citeproc:
-    command: bin/pandoc-citeproc
-    plugs:
-      - home
-      - removable-media

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions