diff options
author | Pierre-Alexis Ciavaldini | 2017-06-18 00:20:28 +0200 |
---|---|---|
committer | Pierre-Alexis Ciavaldini | 2017-06-18 00:20:28 +0200 |
commit | ba89e3f4c6a62cc39b2303075e43148cced71945 (patch) | |
tree | 0a91b674be5fc81ef65604734c2f1d0dddc311f6 | |
parent | b1acac74d5bffc575fc0c3d1de0118f967a41f37 (diff) | |
download | aur-ba89e3f4c6a62cc39b2303075e43148cced71945.tar.gz |
indentation
-rw-r--r-- | PKGBUILD | 82 |
1 files changed, 41 insertions, 41 deletions
@@ -18,26 +18,26 @@ url="https://github.com/ethereum/mist/releases" # dependencies provides=( - ${_binname} - 'libnode' - 'libffmpeg' + ${_binname} + 'libnode' + 'libffmpeg' ) conflicts=( - 'ethereumwallet-git' - 'libnode' - 'libnode-git' + 'ethereumwallet-git' + 'libnode' + 'libnode-git' ) depends=( - 'nss' - 'libxtst' - 'alsa-lib' - 'libxss' - 'gtk2' - 'gconf' + 'nss' + 'libxtst' + 'alsa-lib' + 'libxss' + 'gtk2' + 'gconf' ) optdepends=( - 'geth: The go-ethereum commandline client (geth cli).' - 'parity: The fast, light, robust Ethereum client.' + 'geth: The go-ethereum commandline client (geth cli).' + 'parity: The fast, light, robust Ethereum client.' ) # 32 and 64 file sources, checksums at top of file @@ -46,43 +46,43 @@ source_x86_64=("${url}/download/${pkgver}/Ethereum-Wallet-linux64-$_strver.zip") # desktop file and icon source=( - "EthereumWallet.desktop" - "icon.png" + "EthereumWallet.desktop" + "icon.png" ) # their checksums sha256sums=( - "00bf61c3800b3ca5b68165802d1666f422b6356df114132a115726b03b212139" - "d4f701bb363e5e1d5cd5cb7ea2e8f2c16f1ccb464a1af8bb81b83bbc3ede1e86" + "00bf61c3800b3ca5b68165802d1666f422b6356df114132a115726b03b212139" + "d4f701bb363e5e1d5cd5cb7ea2e8f2c16f1ccb464a1af8bb81b83bbc3ede1e86" ) package() { - # create directories - install -d "${pkgdir}/usr/share/applications" - install -d "${pkgdir}/usr/bin/" - install -d "${pkgdir}/usr/lib" + # create directories + install -d "${pkgdir}/usr/share/applications" + install -d "${pkgdir}/usr/bin/" + install -d "${pkgdir}/usr/lib" - # install - cp -a "${srcdir}/linux-unpacked" "${pkgdir}/usr/share/${_binname}" - install "${pkgdir}/usr/share/${_binname}/libnode.so" "${pkgdir}/usr/lib/libnode.so" - install "${pkgdir}/usr/share/${_binname}/libffmpeg.so" "${pkgdir}/usr/lib/libffmpeg.so" - ln -s "/usr/share/${_binname}/${_binname}" "${pkgdir}/usr/bin/${_binname}" - rm "${pkgdir}/usr/share/${_binname}/libnode.so" - rm "${pkgdir}/usr/share/${_binname}/libffmpeg.so" + # install + cp -a "${srcdir}/linux-unpacked" "${pkgdir}/usr/share/${_binname}" + install "${pkgdir}/usr/share/${_binname}/libnode.so" "${pkgdir}/usr/lib/libnode.so" + install "${pkgdir}/usr/share/${_binname}/libffmpeg.so" "${pkgdir}/usr/lib/libffmpeg.so" + ln -s "/usr/share/${_binname}/${_binname}" "${pkgdir}/usr/bin/${_binname}" + rm "${pkgdir}/usr/share/${_binname}/libnode.so" + rm "${pkgdir}/usr/share/${_binname}/libffmpeg.so" - # installing desktop file and icon - cp "${srcdir}/icon.png" "${pkgdir}/usr/share/${_binname}" - cp "${srcdir}/EthereumWallet.desktop" "${pkgdir}/usr/share/applications" + # installing desktop file and icon + cp "${srcdir}/icon.png" "${pkgdir}/usr/share/${_binname}" + cp "${srcdir}/EthereumWallet.desktop" "${pkgdir}/usr/share/applications" - # modes - find "${pkgdir}" -type d -exec chmod 755 {} + - find "${pkgdir}" -type f -exec chmod 644 {} + - chmod 755 "${pkgdir}/usr/share/${_binname}/${_binname}" - chmod 755 "${pkgdir}/usr/lib/libnode.so" - chmod 755 "${pkgdir}/usr/lib/libffmpeg.so" + # modes + find "${pkgdir}" -type d -exec chmod 755 {} + + find "${pkgdir}" -type f -exec chmod 644 {} + + chmod 755 "${pkgdir}/usr/share/${_binname}/${_binname}" + chmod 755 "${pkgdir}/usr/lib/libnode.so" + chmod 755 "${pkgdir}/usr/lib/libffmpeg.so" - # licence - install -Dm644 "${pkgdir}/usr/share/${_binname}/LICENSE" \ + # licence + install -Dm644 "${pkgdir}/usr/share/${_binname}/LICENSE" \ "${pkgdir}/usr/share/licenses/${_binname}/LICENSE" - rm "${pkgdir}/usr/share/${_binname}/LICENSE" + rm "${pkgdir}/usr/share/${_binname}/LICENSE" } |