summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc2caf4d15e1f6b92f1504e4764cf1d2db52a48d (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
# Maintainer: vtyulb <vtyulb@vtyulb.ru>

pkgname=kumir2-git
pkgver=19.04.2020
pkgrel=1
pkgdesc="An educational programming language and IDE in Russian schools"
url="https://www.niisi.ru/kumir/index.htm"
arch=('x86_64')
license=('GPL2')
makedepends=('git' 'cmake' 'python')
depends=('qt5-base' 'qt5-svg' 'qt5-x11extras' 'qt5-script' 'qt5-tools')
replaces=("kumir")

build() {
  cd "${srcdir}"
  git clone https://git.niisi.ru/kumir/kumir2.git
  cd "${srcdir}/kumir2"
  mkdir build
  cd build
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/" -DUSE_QT=5 ../
  make
}

package() {
  cd "${srcdir}/kumir2/build"
  make DESTDIR="$pkgdir/" install  
  mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib" | true
}