blob: 46b39d25daea572a498d1d44c05c20e130d08c29 (
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
|
pkgname=openmodelica-omlibraries
pkgver=1.22.2
pkgrel=1
pkgdesc="The Open Source Modelica Suite - A collection of Modelica libraries for use with OpenModelica."
arch=('x86_64')
url="https://openmodelica.org"
license=('OSMC-PL')
groups=(openmodelica)
_group=OpenModelica
_name=OMLibraries
_commit=1413a3426ce4e5d9a92bbea9c3c8babac9c7ec46
depends=('openmodelica-omc')
makedepends=('git' 'python-requests' 'python-simplejson' 'python-joblib' 'perl-xml-xpath')
source=("git+https://github.com/${_group}/${_name}.git#commit=${_commit}")
sha1sums=('SKIP')
prepare() {
cd "$srcdir/$_name"
git checkout "${_commit}"
}
build() {
cd "$srcdir/$_name"
make
}
package() {
cd "$srcdir/$_name/build"
mkdir -p ${pkgdir}/usr/lib/omlibrary
cp -r * ${pkgdir}/usr/lib/omlibrary
}
|