blob: 05ed6130f3bd927d58f0eb8f249b49edf9c2a480 (
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
|
# Maintainer: Tobias Frisch <thejackimonster@gmail.com>
_name=pEpJNIAdapter
_pkgname=pep-jni-adapter
pkgname=$_pkgname-git
pkgver=2.1.20
pkgrel=1
pkgdesc="p≡p JNI adapter"
arch=('x86_64' 'i686')
url='https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter'
license=('GPL3')
makedepends=('git' 'make' 'yml2' 'pep-engine' 'libpep-adapter' 'java-environment')
depends=('pep-engine' 'libpep-adapter' 'java-runtime')
provides=('pep-jni-adapter')
source=("git+https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter.git")
md5sums=('SKIP')
prepare() {
cd "$srcdir/$_name"
echo "PREFIX=$pkgdir" > 'local.conf'
echo "CXX=g++" >> 'local.conf'
echo "DEBUG=0" >> 'local.conf'
echo "JAVA_HOME=/usr/lib/jvm/default" >> 'local.conf'
echo "USE_JAVAH=1" >> 'local.conf'
echo "YML2_PATH=/usr/bin" >> 'local.conf'
echo "ENGINE_LIB_PATH=/usr/lib" >> 'local.conf'
echo "ENGINE_INC_PATH=/usr/include" >> 'local.conf'
echo "AD_LIB_PATH=/usr/lib" >> 'local.conf'
echo "AD_INC_PATH=/usr/include" >> 'local.conf'
}
pkgver() {
cd "$srcdir/$_name"
git tag | grep "^Release" | grep -v RC | sort -V -r | head -1 | tr '_-' ' ' | awk '{print $2}'
}
build() {
cd "$srcdir/$_name"
make
}
package() {
cd "$srcdir/$_name"
make install
}
|