Last active
January 13, 2018 02:57
-
-
Save leiserfg/4c4d1e0d934a047817a9c0bae3ef9661 to your computer and use it in GitHub Desktop.
graphql-playground-bin PKGBUILD
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: leiserfg <leiserfg g-mail> | |
pkgname=graphql-playground-bin | |
name=graphql-playground | |
pkgver=1.3.23 | |
pkgrel=1 | |
pkgdesc="GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)" | |
arch=('x86_64') | |
url="https://github.com/graphcool/graphql-playground" | |
license=('MIT') | |
depends=('libcurl-compat') | |
options=('!emptydirs' '!strip') | |
source=("https://github.com/graphcool/${name}/releases/download/v${pkgver}/${name}-electron_${pkgver}_amd64.deb") | |
package() { | |
# Extract the core package | |
tar -xf data.tar.xz -C "${pkgdir}" | |
# Setup usr folder | |
chmod -R go-w ${pkgdir}/usr | |
mkdir -p ${pkgdir}/usr/bin | |
ln -s /opt/GraphQL\ Playground/${name}-electron ${pkgdir}/usr/bin/${name} | |
# Install the necessary parts | |
install -d ${pkgdir}/usr/share/applications | |
install -d ${pkgdir}/usr/share/icons | |
install -d ${pkgdir}/opt/GraphQL\ Playground | |
} | |
md5sums=('1a639a2b3fea76e386969d86eb84d555') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment