summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumen2019-05-02 22:31:09 +0200
committerkumen2019-05-02 22:31:09 +0200
commitd010acbe189ced65d3887b57c76ff2d343eb40dc (patch)
treedef33539371723666f168755ee9a2ab560a2de57
parent689ef54e912fc8de39ad351fd8b68ee90361bfe5 (diff)
downloadaur-d010acbe189ced65d3887b57c76ff2d343eb40dc.tar.gz
Prevent *.desktop file replacing
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 29ec61b3a7f..ea12ca14bf2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = stm32cubeide
pkgdesc = Integrated Development Environment for STM32
pkgver = 1.0.0
pkgrel = 2
- url = https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/stm32cubeide.html
+ url = https://www.st.com/en/development-tools/stm32cubeide.html
arch = x86_64
license = Commercial
depends = java-runtime
diff --git a/PKGBUILD b/PKGBUILD
index d97eb2d82a8..e4d1792de8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname="stm32cubeide"
pkgver=1.0.0
_pkgver_ext="$pkgver"_2872_20190423_2022
-pkgrel=2
+pkgrel=3
pkgdesc="Integrated Development Environment for STM32"
arch=("x86_64")
depends=('java-runtime' 'jlink-software-and-documentation')
optdepends=('stlink')
conflicts=()
-url="https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/stm32cubeide.html"
+url="https://www.st.com/en/development-tools/stm32cubeide.html"
license=('Commercial')
options=(!strip)
@@ -72,7 +72,10 @@ package() {
msg2 'Installing desktop shortcuts'
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- msg2 'Cleaning build folder'
- rm -rf "${srcdir}/build"
+ #msg2 'Cleaning build folder'
+ #rm -rf "${srcdir}/build"
+
+ msg2 'Prevent automatical *.desktop file replacement by not functional one'
+ mv ${pkgdir}/opt/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.ide_1.0.0.201904231240/resources/project_importer/linux/mimetype/stm32cubeide.desktop.template ${pkgdir}/opt/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.ide_1.0.0.201904231240/resources/project_importer/linux/mimetype/stm32cubeide.desktop.template.old
}