diff options
author | Christoph Gysin | 2015-06-30 09:58:28 +0300 |
---|---|---|
committer | Christoph Gysin | 2015-06-30 09:58:28 +0300 |
commit | 3776a2bc62fe0ae0d159882f3407be7e1f8cd7ae (patch) | |
tree | 1180325f67b46575c61e0ea0ae8a4a2d9dd23ab0 | |
download | aur-3776a2bc62fe0ae0d159882f3407be7e1f8cd7ae.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5219af9f0b90 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = titan-git + pkgdesc = TTCN3 test automation platform + pkgver = v5.3.pl0.33.g92265d0 + pkgrel = 1 + url = https://projects.eclipse.org/projects/tools.titan + arch = i686 + arch = x86_64 + groups = devel + license = eclipse + depends = openssl + depends = jdk7-openjdk + source = git+https://github.com/eclipse/titan.core + md5sums = SKIP + +pkgname = titan-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..dbdf017bcbbf --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +titan.core/ +titan-git-*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..376b5f82c0c7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Christoph Gysin <christoph.gysin@gmail.com> +pkgname=titan-git +_pkgname=titan.core +pkgver=v5.3.pl0.33.g92265d0 +pkgrel=1 +pkgdesc="TTCN3 test automation platform" +arch=('i686' 'x86_64') +url="https://projects.eclipse.org/projects/tools.titan" +license=('eclipse') +groups=('devel') +depends=('openssl' 'jdk7-openjdk') +source=(git+https://github.com/eclipse/titan.core) +md5sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --long | sed 's/-/./g' +} + +build() { + cd $srcdir/$_pkgname + make \ + TTCN3_DIR=/usr/ttcn3 \ + JDKDIR=/usr/lib/jvm/java-7-openjdk +} + +package() { + cd $srcdir/$_pkgname + make \ + TTCN3_DIR=$pkgdir/usr/ttcn3 \ + ETCDIR=$pkgdir/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 +} |