blob: cab80365a66527b80e9c7f4a2c3104f5fc75a7eb (
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
|
# Maintainer: Tobias Frisch <thejackimonster@gmail.com>
_name=libpEpAdapter
_pkgname=libpep-adapter
pkgname=$_pkgname-git
pkgver=2.1.19
pkgrel=1
pkgdesc="C++ library for common structures used in p≡p adapters"
arch=('x86_64' 'i686')
url='https://gitea.pep.foundation/pEp.foundation/libpEpAdapter'
license=('GPL3')
makedepends=('git' 'make' 'pep-engine')
depends=('pep-engine')
provides=('libpep-adapter')
source=("git+https://gitea.pep.foundation/pEp.foundation/libpEpAdapter.git")
md5sums=('SKIP')
prepare() {
cd "$srcdir/$_name"
echo "PREFIX=$pkgdir/usr" > 'local.conf'
echo "ENGINE_LIB=-L/usr/lib" >> 'local.conf'
echo "ENGINE_INC=-I/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
}
|