summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWilliam Turner2018-10-23 15:24:46 -0400
committerWilliam Turner2018-10-23 15:24:46 -0400
commit21e2af6bb056dd57e7ceebc021fd8bafa5cfe260 (patch)
tree29ddaeeafc8bdfb93f030d19a6ca426332ea39dd /PKGBUILD
parent588884a9f47a1beacd610a2103c9fba29e1dc948 (diff)
downloadaur-21e2af6bb056dd57e7ceebc021fd8bafa5cfe260.tar.gz
Add symlink to bin
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a570241fae7..75087e5a091 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: William Turner <willtur.will@gmail.com>
pkgname=graphql-playground-electron
pkgver=1.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)."
arch=('x86_64')
url="https://github.com/prisma/graphql-playground"
@@ -20,5 +20,9 @@ prepare() {
package() {
mv opt "$pkgdir"
mv usr "$pkgdir"
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+
+ 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
}