summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae2ae1c01a41421afec43c54a5185ce383baa2ea (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
44
45
46
47
48
49
50
51
# Maintainer : Ben Song <bensongsyz@gmail.com>
# Contributor: zoe <aur at fully dot automated dot ee ignore everything else after the first ee>
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>

pkgname='ktechlab'
pkgver=0.51.0
pkgrel=2
pkgdesc='IDE for microcontrollers and electronic circuit simulation'
arch=('x86_64')
url="https://invent.kde.org/sdk/ktechlab"
license=('GPL2')
depends=(
    'qt5-base'
    'qt5-serialport'
    'kcompletion5'
    'kconfig5'
    'kconfigwidgets5'
    'kcoreaddons5'
    'kdoctools5'
    'kiconthemes5'
    'ki18n5'
    'kio5'
    'kparts5'
    'ktexteditor5'
    'ktextwidgets5'
    'kwidgetsaddons5'
    'kwindowsystem5'
    'kxmlgui5'
    )
makedepends=('extra-cmake-modules')
optdepends=('gpsim: for simulating PIC microcontrollers'
    'glib2: Required for gpsim')
source=("https://download.kde.org/unstable/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('046b9ce1f2c2a93e1da734a416674a5bb5da3203ac773d49ed693b8492f6d212')

build() {
  export CFLAGS+=" ${CPPFLAGS}"
  export CXXFLAGS+=" ${CPPFLAGS}"
  cmake -B build -S "${pkgname}-${pkgver}" \
    -DCMAKE_BUILD_TYPE='None' \
    -DCMAKE_INSTALL_PREFIX='/usr' \
    -Wno-dev
  make -C build
}

package() {
  make DESTDIR="${pkgdir}" PREFIX="/usr" -C build install
} 

# vim: ts=2 sw=2 et: