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 3f5a570 commit 79b4192
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docker/Build_ppa
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}-${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 && \
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 && \
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}-${FIGMA_LINUX_REV} && \
tar cJf ../../figma-linux_${FIGMA_LINUX_VERSION}.orig.tar.xz ./* && \
cd ../../figma-linux-${FIGMA_LINUX_VERSION} && \
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
Expand Up @@ -14,7 +14,7 @@ if [ $arch == "aarch64" ]; then
linux_unpacked="build/installers/linux-arm64-unpacked";
fi

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

Expand Down

0 comments on commit 79b4192

Please sign in to comment.