Created
May 27, 2019 19:55
-
-
Save Projekt-43/a70dbadabf130d27549f94ae6cb233bc to your computer and use it in GitHub Desktop.
update figma-bin to release 0.5.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgbase = figma-bin | |
pkgdesc = The collaborative interface design tool. Unofficial Figma desktop client for Linux | |
pkgver = 0.5.1 | |
pkgrel = 1 | |
url = https://github.com/ChugunovRoman/figma-linux | |
arch = x86_64 | |
license = custom: "Copyright Figma, Inc." | |
depends = unzip | |
conflicts = figma-linux-bin | |
replaces = figma-linux-bin | |
noextract = figma-linux-0.5.0.zip | |
source = https://github.com/ChugunovRoman/figma-linux/releases/download/v0.5.0/figma-linux-0.5.0.zip | |
source = figma.desktop | |
source = 48x48.png | |
source = 64x64.png | |
source = 128x128.png | |
source = 256x256.png | |
sha256sums = e85e1eb3f61459aa331c05c484f36878035db2cb2bd5f5c36eb8cfd52e848e27 | |
sha256sums = 30333ab2304e493baf23677b38b775a00f641f78052a761e5dac95f979f860e8 | |
sha256sums = 160b8bd5f250bca3f79452b57d2acbe9bad2f68d63b09abeef1f69f4deeed395 | |
sha256sums = 3595bd69e9e7a36bf90ad6084462fba2271749afdd7ea080b4cd266d05fafe7b | |
sha256sums = ee49a1ff77ce0198e700ef42ee817df465884ac713543fc4b78742130fff4b12 | |
sha256sums = ea143a3ad60cbf0e828f5c18ece78fa5c541c71e25668548cca981bfea67c476 | |
pkgname = figma-bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: acidicX <archlinux-aur@datahugger.de> | |
pkgname="figma-bin" | |
pkgver="0.5.1" | |
pkgrel="1" | |
pkgdesc="The collaborative interface design tool. Unofficial Figma desktop client for Linux" | |
arch=("x86_64") | |
url="https://github.com/ChugunovRoman/figma-linux" | |
license=('custom: "Copyright Figma, Inc."') | |
conflicts=("figma-linux-bin") | |
replaces=("figma-linux-bin") | |
source=("https://github.com/ChugunovRoman/figma-linux/releases/download/v${pkgver}/figma-linux-${pkgver}.zip" | |
"figma.desktop" | |
"48x48.png" | |
"64x64.png" | |
"128x128.png" | |
"256x256.png") | |
depends=("unzip") | |
noextract=("figma-linux-${pkgver}.zip") | |
sha256sums=("e85e1eb3f61459aa331c05c484f36878035db2cb2bd5f5c36eb8cfd52e848e27" | |
"30333ab2304e493baf23677b38b775a00f641f78052a761e5dac95f979f860e8" | |
"160b8bd5f250bca3f79452b57d2acbe9bad2f68d63b09abeef1f69f4deeed395" | |
"3595bd69e9e7a36bf90ad6084462fba2271749afdd7ea080b4cd266d05fafe7b" | |
"ee49a1ff77ce0198e700ef42ee817df465884ac713543fc4b78742130fff4b12" | |
"ea143a3ad60cbf0e828f5c18ece78fa5c541c71e25668548cca981bfea67c476") | |
package() { | |
cd "${srcdir}" | |
install -D "${srcdir}"/figma.desktop "${pkgdir}"/usr/share/applications/figma.desktop | |
install -D "${srcdir}"/256x256.png "${pkgdir}"/usr/share/pixmaps/figma.png | |
for size in 48 64 128 256; do | |
install -D "${srcdir}/${size}x${size}.png" \ | |
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/figma.png" | |
done | |
mkdir -p "${pkgdir}/opt/${pkgname}" | |
unzip -q "figma-linux-${pkgver}.zip" -d "${pkgdir}/opt/${pkgname}" | |
mkdir -p "${pkgdir}/usr/bin" | |
ln -s "/opt/${pkgname}/figma-linux" "${pkgdir}/usr/bin/figma" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment