Skip to content

Commit

Permalink
chore: update build ppa script
Browse files Browse the repository at this point in the history
  • Loading branch information
ChugunovRoman committed Nov 18, 2023
1 parent a55d547 commit 3f5a570
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docker/Build_ppa
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ ENV USER=root
COPY ./build ./build
COPY ./gpg ./

RUN apt update && apt install xdg-utils -y && cat ./build/figma-linux-${FIGMA_LINUX_VERSION}/debian/changelog && \
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/figma-linux && \
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/chrome-sandbox && \
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}/*.sh && \
RUN apt update && apt install xdg-utils -y && cat ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/debian/changelog && \
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/figma-linux && \
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/chrome-sandbox && \
chmod a+x ./build/figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}/*.sh && \
gpg --import --no-tty --batch --yes ./pub.key && \
gpg --import --no-tty --batch --yes ./secret.key && \
gpg -k && \
cp -rf ./id_rsa ~/.ssh && \
chmod 600 ~/.ssh/id_rsa && \
cd ./build/installers/linux-unpacked && \
tar cJf ../../figma-linux_${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV}.orig.tar.xz ./* && \
cd ../../figma-linux-${FIGMA_LINUX_VERSION} && \
cd ../../figma-linux-${FIGMA_LINUX_VERSION}-${FIGMA_LINUX_REV} && \
chmod a+x debian/rules debian/postinst debian/postrm && \
EDITOR=/bin/true dpkg-source -q --commit . patchsetname && \
debuild -S -sa -p"gpg --batch --passphrase-file /usr/src/figma-linux/passphrase --pinentry-mode loopback" && \
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_ppa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ $arch == "aarch64" ]; then
linux_unpacked="build/installers/linux-arm64-unpacked";
fi

workdir="build/figma-linux-${version}";
workdir="build/figma-linux-${version}-${rev}";
mkdir -p $workdir;
mkdir -p $workdir/resources/icon;

Expand Down

0 comments on commit 3f5a570

Please sign in to comment.