diff options
author | William Turner | 2018-10-23 15:24:46 -0400 |
---|---|---|
committer | William Turner | 2018-10-23 15:24:46 -0400 |
commit | 21e2af6bb056dd57e7ceebc021fd8bafa5cfe260 (patch) | |
tree | 29ddaeeafc8bdfb93f030d19a6ca426332ea39dd /PKGBUILD | |
parent | 588884a9f47a1beacd610a2103c9fba29e1dc948 (diff) | |
download | aur-21e2af6bb056dd57e7ceebc021fd8bafa5cfe260.tar.gz |
Add symlink to bin
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 } |