blob: 26b8c3e858de4b624c45a0223d583ca083a4f05d (
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
52
53
54
|
# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>
# Maintainer: Pau Espin Pedrol <pespin@espeweb.net>
pkgname=titan-git
_pkgname=titan.core
pkgver=8.1.1.r40.g6be5a7f23
pkgrel=1
pkgdesc="TTCN3 test automation platform"
arch=('i686' 'x86_64')
url="https://projects.eclipse.org/projects/tools.titan"
license=('eclipse')
groups=('devel')
makedepends=(
'flex'
'bison'
'git'
)
depends=(
'expect'
'libedit'
'ncurses'
'openssl'
'jdk8-openjdk'
)
source=(git+https://gitlab.eclipse.org/eclipse/titan/titan.core.git
titan.profile)
md5sums=('SKIP'
'ecccd5d48359f5f0bdd81c8cc036e806')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $srcdir/$_pkgname
make \
TTCN3_DIR=/usr/ttcn3 \
JDKDIR=/usr/lib/jvm/java-8-openjdk
}
package() {
cd $srcdir/$_pkgname
make \
TTCN3_DIR=$pkgdir/usr/ttcn3 \
ETCDIR=$pkgdir/usr/ttcn3/etc \
MANDIR=$pkgdir/usr/share/man \
DOCDIR=$pkgdir/usr/share/doc/titan \
HELPDIR=$pkgdir/usr/share/doc/titan/html \
DEMODIR=$pkgdir/usr/share/doc/titan/demo \
install
install -D $srcdir/titan.profile \
$pkgdir/etc/profile.d/titan.sh
}
|