chore: satisfy shellcheck
This commit is contained in:
parent
0ef20cd114
commit
fbcc8ef540
1 changed files with 8 additions and 8 deletions
16
PKGBUILD
16
PKGBUILD
|
|
@ -53,21 +53,21 @@ if [ "$CARCH" = "i686" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$pkgname
|
cd "$srcdir/$pkgname"
|
||||||
|
|
||||||
# Install the application
|
# Install the application
|
||||||
install -d $pkgdir/{opt/$pkgname,usr/bin}
|
install -d "$pkgdir/{opt/$pkgname,usr/bin}"
|
||||||
cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json $pkgdir/opt/$pkgname
|
cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json "$pkgdir/opt/$pkgname"
|
||||||
ln -s /opt/android-studio/bin/studio $pkgdir/usr/bin/$pkgname
|
ln -s /opt/android-studio/bin/studio "$pkgdir/usr/bin/$pkgname"
|
||||||
|
|
||||||
# Copy licenses
|
# Copy licenses
|
||||||
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
|
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
|
||||||
install -Dm644 $srcdir/license.html "${pkgdir}/usr/share/licenses/${pkgname}/license.html"
|
install -Dm644 "$srcdir/license.html" "${pkgdir}/usr/share/licenses/${pkgname}/license.html"
|
||||||
|
|
||||||
# Add the icon and desktop file
|
# Add the icon and desktop file
|
||||||
install -Dm644 bin/studio.png $pkgdir/usr/share/pixmaps/$pkgname.png
|
install -Dm644 bin/studio.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
|
||||||
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||||
|
|
||||||
chmod -R ugo+rX $pkgdir/opt
|
chmod -R ugo+rX "$pkgdir/opt"
|
||||||
}
|
}
|
||||||
# vim: set ft=sh ts=4 sw=4 et:
|
# vim: set ft=sh ts=4 sw=4 et:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue