Skip to content

Commit

Permalink
Test core18
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Jan 1, 2024
1 parent c7fed29 commit 147940c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: latexml
base: core20
base: core18
version: '0.8.7'
summary: A LaTeX to XML/HTML/MathML Converter
description: |
Expand All @@ -24,8 +24,8 @@ parts:
apt install -y libxml2-dev libxslt1-dev libicu-dev zlib1g-dev
# Install cpanm packages
cpanm_packages=("XML::[email protected]" "LaTeXML@$SNAPCRAFT_PROJECT_VERSION")
for pkg in "${cpanm_packages[@]}"; do
cpanm_packages="XML::[email protected] LaTeXML@$SNAPCRAFT_PROJECT_VERSION"
for pkg in $cpanm_packages; do
cpanm --notest "$pkg"
done
Expand All @@ -45,8 +45,6 @@ parts:
env PERL5LIB=\$(IFS=:; echo "\${perl_snap_inc[*]}") env PATH=\$snap_prefix/usr/local/bin:\$PATH \$@
EOF
chmod +x $perl5lib_sh
chmod u=rx $SNAPCRAFT_PART_INSTALL/usr/local/lib/python3.8
chmod u=rx $SNAPCRAFT_PART_INSTALL/usr/local/lib/python3.8/dist-packages
organize:
/usr/bin/perl5lib.sh: /usr/bin/perl5lib.sh
/usr/lib/x86_64-linux-gnu/perl: /usr/lib/x86_64-linux-gnu/perl
Expand All @@ -55,7 +53,6 @@ parts:
stage-packages:
- perl
- perl-base
- libicu66
- libxml2
- libxslt1.1
- zlib1g
Expand Down

0 comments on commit 147940c

Please sign in to comment.