blob: 862d663e50e4bec79689256af8b414e0adf193a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: William Turner <willtur.will@gmail.com>
pkgname=graphql-playground-electron
pkgver=1.8.10
pkgrel=1
pkgdesc="GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)."
arch=('x86_64')
url="https://github.com/prisma/graphql-playground"
license=('MIT')
depends=('gtk3' 'gconf' 'nss' 'libxss')
makedepends=('sed')
source=("https://github.com/prisma/graphql-playground/releases/download/v${pkgver}/${pkgname}_${pkgver}_amd64.deb"
"https://raw.githubusercontent.com/prisma/graphql-playground/v${pkgver}/LICENSE")
sha256sums=('0d608586b5d915bc484c09a601fb72d23301dc37a7cbc0965e94ae712f94a278'
'ee88d093c7c8e10dd41fc1c7b5ff51b2bbf57937b1b88eb3c1927f57743d59db')
prepare() {
bsdtar xf data.tar.xz
}
package() {
mv opt "$pkgdir"
mv usr "$pkgdir"
install -d -m755 "${pkgdir}/usr/bin"
ln -s "/opt/GraphQL Playground/graphql-playground-electron" "${pkgdir}/usr/bin/graphql-playground-electron"
install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
|