diff options
author | Rafał Wyszomirski | 2022-10-12 10:48:14 +0200 |
---|---|---|
committer | Rafał Wyszomirski | 2022-10-12 10:48:14 +0200 |
commit | 1b9e3690668cd5ab5811809e154f287be603ade8 (patch) | |
tree | ae109b2344e02328d7400eb0461b9a5c9bb387f7 /PKGBUILD | |
download | aur-1b9e3690668cd5ab5811809e154f287be603ade8.tar.gz |
Bump v0.13.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c3d3a0a1fc7d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: farwayer <farwayer@gmail.com> +# Contributor: rafauke <m6vuthzbw at mozmail dot com> + +_pkgnamebase=react-native-debugger + +pkgname=react-native-debugger-bin +pkgver=0.13.0 +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=( + 'nss' + 'at-spi2-core' + 'gtk3' + 'alsa-lib' +) +makedepends=('gendesk' 'unzip') +license=('MIT') +source=( + "${_pkgnamebase}-${pkgver}.zip::$url/releases/download/v$pkgver/rn-debugger-linux-x64.zip" + "LICENSE::https://raw.githubusercontent.com/jhen0409/react-native-debugger/master/LICENSE.md" + "${_pkgnamebase}.png" +) +sha512sums=('503c3cda16090bbc9b9b7d97fbdb53f4f1ae93486210d800c8712f98d16b559cdb674a911559b55acc2c176bc69f550d54077968fa9c0c10a5bee4c84c9a5af0' + 'c48c6947c7d1309b9ce0ceabb0550d0c758f4f35f6b3237f2071fa8211f71e4ddac8d66f108c64a0414b5b0e0e7b681f27461485bd3de0d48489687c5b666a64' + '44903f292332e449d94459eb1c4a7f340ca13177418b171401f6c0c7d061cd52aa8c76fff4905505f5275fede0ddc35574bceb41cef6d581802f8e2d555600b0') + +package() { + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgnamebase}" + mkdir -p "${pkgdir}/opt/${_pkgnamebase}" + mkdir -p "$pkgdir/usr/bin" + unzip ${_pkgnamebase}-${pkgver}.zip -d ${pkgdir}/opt/${_pkgnamebase} + ln -s /opt/${_pkgnamebase}/${_pkgnamebase} "${pkgdir}/usr/bin/${_pkgnamebase}" + gendesk -f -n \ + --name "React Native Debugger" \ + --pkgname "${_pkgnamebase}" \ + --pkgdesc "${pkgdesc}" \ + --exec="${_pkgnamebase} --no-sandbox %U" \ + --categories=Application\;Development \ + --icon ${_pkgnamebase} + install -Dm644 ${_pkgnamebase}.desktop "${pkgdir}/usr/share/applications/${_pkgnamebase}.desktop" + install -Dm644 ${_pkgnamebase}.png "${pkgdir}/usr/share/pixmaps/${_pkgnamebase}.png" +} |