blob: eba6c90e145676b1b67b64313bab1deea11c4a79 (
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: Popolon <popolon@popolon.org>
_pkgname=ubgpsuite
pkgname=${_pkgname}-git
pkgver=r78.b0c074e
pkgrel=1
pkgdesc="Micro BGP Suite and Utility library"
url="https://codeberg.org/1414codeforge/ubgpsuite.git"
license=("GPL-3.0-or-later" "LGPL-3.0-or-later")
arch=(i686 x86_64 armv7h aarch64 riscv32 riscv64)
depends=('bzip2' 'xz')
makedepends=('git' 'meson' 'ninja')
provides=(upkgbuild)
conflicts=(upkgbuild)
source=("git+https://codeberg.org/1414codeforge/ubgpsuite")
sha256sums=('SKIP')
pkgver() {
cd ${srcdir}/${_pkgname}
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
cd ${srcdir}/${_pkgname}
meson setup build --buildtype=release --prefix=/usr
}
build() {
cd ${srcdir}/${_pkgname}/build/
ninja
}
package() {
cd ${srcdir}/${_pkgname}/
DESTDIR="${pkgdir}" meson install -C build
}
|