blob: 0ac6180583c4b293699412cede58a0e91c90026b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Dan Fuhry <dan@fuhry.com>
pkgname=tunerstudio
pkgver=3.2.05
pkgrel=1
pkgdesc="Graphical engine tuning and analysis software for Megasquirt ECUs"
arch=(any)
depends=(java-runtime)
makedepends=(imagemagick)
license=(proprietary)
source=(http://www.tunerstudio.com/downloads2/TunerStudioMS_v${pkgver}.tar.gz
tunerstudio.sh
tunerstudio.desktop
)
build()
{
convert "${srcdir}/TunerStudioMS/TSicon.ico" -alpha set "${srcdir}/TunerStudioMS/tunerstudio.png"
}
package()
{
for icon in ${srcdir}/TunerStudioMS/tunerstudio-*.png; do
size=$(identify -format '%wx%h' "${icon}")
mkdir -p "${pkgdir}/usr/share/icons/hicolor/${size}/apps"
install -m644 "$icon" "${pkgdir}/usr/share/icons/hicolor/${size}/apps/${pkgname}.png"
rm -f "$icon"
done
mkdir -p "${pkgdir}/usr/lib"
cp -a "${srcdir}/TunerStudioMS" "${pkgdir}/usr/lib/tunerstudio"
mkdir -p "${pkgdir}/usr/bin"
install -m755 "${srcdir}/tunerstudio.sh" "${pkgdir}/usr/bin/tunerstudio"
mkdir -p "${pkgdir}/usr/share/applications"
install -m644 "${srcdir}/tunerstudio.desktop" "${pkgdir}/usr/share/applications/tunerstudio.desktop"
}
sha256sums=('ac85af70b79ae1329fc2bb595edaa09f70eafe390decfc541f8afc48d3606e85'
'e787c1df189a86b54c16ce6a4e49fcecfe91dbf4f58ee0c3d7887de1ac1fe418'
'a493f95c6b311c9a3be3cdd6a06462f9bdd9c10905e73825a085339abd3eee6b')
|