blob: 35444133ebd428cb45593b7195cb81c71dd37cbd (
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
40
41
42
43
|
# Maintainer: Vasiliy Bukharev <bvp-yar@ya.ru>
_pkgname=simulide
pkgname=${_pkgname}-svn
pkgver=r503
pkgver_base="0.3.12"
pkgver_dash="0.3.12-SR3"
pkgrel=1
pkgdesc="Real time electronic circuit simulator (supports PIC, AVR and Arduino microcontrollers)"
arch=('i686' 'x86_64' 'aarch64')
url="http://simulide.blogspot.com/"
license=('GPL3')
makedepends=('subversion')
provides=('simulide')
conflicts=('simulide')
source=("$_pkgname::svn+https://svn.code.sf.net/p/${_pkgname}/svnrepo/trunk" "simulide.desktop")
md5sums=('SKIP'
'beda8f4452562e5cc1e2c9a19ac99bb3')
depends=(
'gpsim'
'qt5-multimedia'
'qt5-serialport'
'qt5-svg'
'qt5-tools'
)
pkgver() {
cd "${srcdir}/${_pkgname}"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
build() {
cd ${srcdir}/${_pkgname}/build_XX
qmake
make
}
package() {
cp -r ${srcdir}/${_pkgname}/build_XX/release/SimulIDE_${pkgver_dash} ${pkgdir}/usr
mkdir -p "${pkgdir}"/usr/share/applications
install -Dm644 "${srcdir}"/simulide.desktop "${pkgdir}"/usr/share/applications/simulide.desktop
}
|