blob: 702cf68e95cd82b9d00e630ac6fcb78e8421c157 (
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
|
# Maintainer: Sander Vrijders <sander@ouroboros.rocks>
pkgname=ouroboros-git
pkgver=0.17.5.r0.gd68bb3b
pkgrel=1
pkgdesc="A completely decentralized packet network"
arch=('x86_64' 'i686' 'arm')
license=('GPL2' 'LGPL2.1' 'BSD')
depends=('protobuf-c')
makedepends=('git' 'fakeroot' 'cmake')
optdepends=('libgcrypt' 'openssl' 'fuse' 'dnsutils')
source=("git+https://ouroboros.rocks/git/ouroboros")
url="https://ouroboros.rocks"
noextract=()
md5sums=('SKIP')
_gitname=ouroboros
pkgver() {
cd ${srcdir}/${_gitname}
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd ${srcdir}/${_gitname}
cmake -DCMAKE_INSTALL_LIBDIR='/usr/lib' -DCMAKE_INSTALL_SBINDIR='/usr/bin' . || exit 1
make -j${nproc} || exit 1
}
check() {
cd ${srcdir}/${_gitname}
make -j${nproc} check
}
package() {
cd ${srcdir}/${_gitname}
make DESTDIR="$pkgdir/" install
}
|