blob: d52c2d7b969c2b28dd073a49179f6cd60d6cf825 (
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
|
# Maintainer: Sebastian Frohn
pkgname=('kangaru' )
pkgver=4.2.4+12+g4852a2e
pkgrel=1
pkgdesc="An inversion of control container for C++11, C++14 and later"
arch=('x86_64')
url="https://github.com/gracicot/$pkgname"
license=('MIT')
depends=()
makedepends=('git' 'cmake' )
source=("git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed -r 's/^[r|v]//;s/-/+/g'
}
build() {
cd "$pkgname"
mkdir -p build && cd build
cmake ..
}
package() {
cd "$srcdir/$pkgname/build"
make DESTDIR=$pkgdir install
}
|