blob: 0911b6fc982a883a02867eb52019e209138190dd (
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
|
# Maintainer: Tobias Borgert <tobias.borgertt@gmail.com>
pkgname=ecal
pkgver=5.3.2
pkgrel=2
pkgdesc="enhanced Communication Abstraction Layer"
arch=('x86_64')
url="https://github.com/continental/ecal"
license=('Apache')
depends=('asio' 'protobuf' 'qt5-base' 'simpleini' 'tclap')
makedepends=('cmake' 'doxygen')
optdepends=()
source=(https://github.com/continental/ecal/archive/v$pkgver.tar.gz
ecal-v5.3.2-archlinux-fabs.patch)
sha256sums=('cde3b92df167640e94e60bd0a6eff4f6520b43b27059568694283b07250f892c'
'bbbb519e72f177c03a10a6d5fc820e4aebba91de965ccf3e8176ea1851e427c6')
prepare() {
cd $pkgname-$pkgver
patch --forward --strip=1 --input="../ecal-v5.3.2-archlinux-fabs.patch"
}
build() {
cd $pkgname-$pkgver
mkdir -p _build
cd _build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DGIT_REVISION_MAYOR=5 \
-DGIT_REVISION_MINOR=3 \
-DGIT_REVISION_PATCH=2 \
-DECAL_THIRDPARTY_BUILD_PROTOBUF=OFF
make -j
}
package() {
cd $pkgname-$pkgver
cd _build
DESTDIR="$pkgdir" make install
mv "$pkgdir/usr/lib" "$pkgdir/usr/lib32"
mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib"
}
|