diff options
author | Hunter Wittenborn | 2021-05-03 01:53:53 -0500 |
---|---|---|
committer | Hunter Wittenborn | 2021-05-03 01:53:53 -0500 |
commit | ba44d7202fdad914868a2e3e4a1c797d01f3df32 (patch) | |
tree | 3f2f71d0390a74d858de0d32eb6915cdf844f386 | |
parent | 953b8ba094f30b3c3085328282cfb30d4e145346 (diff) | |
download | aur-ba44d7202fdad914868a2e3e4a1c797d01f3df32.tar.gz |
Fixed issue with desktop icon not appearing
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = bootstrap-studio pkgdesc = Bootstrap Studio is a powerful tool which web developers and designers use to create layouts and fully functional websites using the Bootstrap framework. pkgver = 5.6.2 - pkgrel = 1 + pkgrel = 2 url = https://bootstrapstudio.io/ arch = x86_64 license = custom @@ -4,7 +4,7 @@ pkgname=bootstrap-studio pkgver=5.6.2 -pkgrel=1 +pkgrel=2 pkgdesc="Bootstrap Studio is a powerful tool which web developers and designers use to create layouts and fully functional websites using the Bootstrap framework." arch=("x86_64") license=("custom") @@ -21,17 +21,23 @@ prepare() { } package() { + # Copy package files mkdir -p "${pkgdir}/opt/bootstrap-studio" cp -Lr "${srcdir}/squashfs-root" "${pkgdir}/opt/bootstrap-studio" + # Add package to /usr/bin/ mkdir -p "${pkgdir}/usr/bin" echo '#!/usr/bin/env bash gtk-launch bstudio.desktop' | tee "${pkgdir}/usr/bin/bootstrap-studio" chmod +x "${pkgdir}/usr/bin/bootstrap-studio" + # Copy .desktop file mkdir -p "${pkgdir}/usr/share/applications" cp -Lr "${srcdir}/bstudio.desktop" "${pkgdir}/usr/share/applications/" - mkdir -p "${pkgdir}/usr/share/icons/hicolor/0x0/apps/" - cp -Lr "${srcdir}/squashfs-root/usr/share/icons/hicolor/0x0/apps/bstudio.png" "${pkgdir}/usr/share/icons/hicolor/0x0/apps/" + # Copy icons + mkdir -p "${pkgdir}/usr/share/icons/hicolor/"{128x128,192x192,256x256,512x512}"/apps/" + for i in 128x128 192x192 256x256 512x512; do + cp -Lr "${srcdir}/squashfs-root/usr/share/icons/hicolor/0x0/apps/bstudio.png" "${pkgdir}/usr/share/icons/hicolor/${i}/apps/" + done } |