-
-
Save kageurufu/94b173efea2b25ed8eb13aa98334e0a9 to your computer and use it in GitHub Desktop.
react-native-debugger
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: farwayer <farwayer@gmail.com> | |
pkgname=react-native-debugger | |
pkgver=0.7.1 | |
pkgrel=1 | |
pkgdesc="The standalone app for React Native Debugger, with React DevTools / Redux DevTools" | |
arch=('x86_64') | |
url='https://github.com/jhen0409/react-native-debugger' | |
depends=( | |
gtk2 | |
gconf | |
libxss | |
nss | |
alsa-lib | |
libxtst | |
) | |
license=('MIT') | |
_filename=rn-debugger-linux-x64.$pkgver.zip | |
source=( | |
"$_filename::$url/releases/download/v$pkgver/rn-debugger-linux-x64.zip" | |
"$pkgname.desktop" | |
"icon.png" | |
) | |
sha512sums=('81b8595a7e238485bdbfa8387c8466bccf087995f0a12d766aa051049f1df6ce22f54c0efad077bb12829eb7783ac505fd412f0d1938358f8e95134efaa2dd1b' | |
'146025ecc9ba34a22fba6576b74a042194bdf85357740da574a6aa7f6af657fba95a41e58e84684528c90154ade1eb461621b8a94600908aa254eebf4bf787ab' | |
'1b6ad27debf69a041203c9583ad17d4aef71ceaa7d63d74a053d5d9c389d75e8dd5eee99ff66cbc78baf6c1fdd69a40b7ecdb44beac0c182f4c5b4b502816d3b') | |
package() { | |
install -d $pkgdir/opt/$pkgname | |
install -d $pkgdir/usr/bin | |
ln -s /opt/$pkgname/React\ Native\ Debugger $pkgdir/usr/bin/react-native-debugger | |
ln -s /opt/$pkgname/React\ Native\ Debugger $pkgdir/usr/bin/rn-debugger | |
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop | |
install -m644 $srcdir/icon.png $pkgdir/opt/$pkgname/ | |
rm $srcdir/$_filename | |
rm $srcdir/$pkgname.desktop | |
rm $srcdir/icon.png | |
cp -r $srcdir/. $pkgdir/opt/$pkgname | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment