summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f704b394c5a226aa87a643d4d6254b29431cb17 (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
# Maintainer: Daniel Landau <aur@landau.fi> 

_pkgname=QCSXCAD
pkgname=qcsxcad
pkgver=0.6.2
pkgrel=1
pkgdesc="Qt-GUI for CSXCAD"
arch=("x86_64")
url="https://github.com/thliebig/$_pkgname"
license=("LGPL3")
depends=("csxcad-git" "openems" "tinyxml" "vtk" "qt5-base")
makedepends=("cmake")
optdepends=()
source=("https://github.com/thliebig/$_pkgname/archive/v$pkgver.tar.gz"
)
md5sums=('6c39f347e2f2464a42ec567fd79389d9')

prepare() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  mkdir -p build
}

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}/build"
  cmake ..
  make
}

package() {
  cd "${srcdir}/${_pkgname}-${pkgver}/build"
  make install DESTDIR="$pkgdir"
}