Package Details: ubgpsuite-git r78.b0c074e-1

Git Clone URL: https://aur.archlinux.org/ubgpsuite-git.git (read-only, click to copy)
Package Base: ubgpsuite-git
Description: Micro BGP Suite and Utility library
Upstream URL: https://codeberg.org/1414codeforge/ubgpsuite.git
Licenses: GPL-3.0-or-later, LGPL-3.0-or-later
Conflicts: upkgbuild
Provides: upkgbuild
Submitter: Popolon
Maintainer: Popolon
Last Packager: Popolon
Votes: 1
Popularity: 0.011579
First Submitted: 2021-11-25 13:11 (UTC)
Last Updated: 2024-06-02 08:03 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

marek22k commented on 2024-05-16 17:30 (UTC)

@Popolon Hi, could you update the Git URL?

marek22k commented on 2023-12-28 13:13 (UTC) (edited on 2023-12-28 13:13 (UTC) by marek22k)

I don't understand why for in the documentation is wrote at the same time on github that it is a clone of codeberg, and to git clone from gitea.it, I suppose it will still change one more time after that???

I had contacted the developer (via e-mail) because I had discovered some questions, comments and errors in the program. On this occasion I also told him that I could not create an account on gitea.it (the instance does not accept new accounts) and therefore could not open an issue. He then said that he was considering moving. A few months later, he moved the repo to CodeBerg.

Please also change the address at source and not only at homepage.

Popolon commented on 2023-12-27 13:05 (UTC) (edited on 2023-12-27 13:06 (UTC) by Popolon)

Thanks for the suggestion for license.

I don't understand why for in the documentation is wrote at the same time on github that it is a clone of codeberg, and to git clone from gitea.it, I suppose it will still change one more time after that???

marek22k commented on 2023-12-25 23:39 (UTC)

Please also update the upstream URL: https://codeberg.org/1414codeforge/ubgpsuite

marek22k commented on 2023-12-22 20:16 (UTC)

I would also suggest to use SPDX license identifiers.

license=("GPL-3.0-or-later" "LGPL-3.0-or-later") (see https://wiki.archlinux.org/title/PKGBUILD#license and https://rfc.archlinux.page/0016-spdx-license-identifiers/)

marek22k commented on 2023-12-17 07:41 (UTC)

For compatibility reasons, meson also accepts it without setup, but a warning is then issued. See https://gitea.it/1414codeforge/ubgpsuite/commit/20d0b9bd44562358cfaa8fe0dbb43c715901d11e

Popolon commented on 2023-12-16 23:02 (UTC) (edited on 2023-12-27 13:09 (UTC) by Popolon)

Thanks for the tip, changed to the source address as suggested by mail.

Also added "setup" at "meson build" as you suggested, copy the whole receipe to change add one word wasn't needed :). but it worked fine as is for me.

marek22k commented on 2023-12-16 15:57 (UTC) (edited on 2023-12-16 16:02 (UTC) by marek22k)

And it should meson setup and not just meson.

Maybe something like that:

_pkgname=ubgpsuite
pkgname=${_pkgname}-git
pkgver=0.1
pkgrel=1
pkgdesc="Micro BGP Suite and Utility library"
url="https://codeberg.org/1414codeforge/ubgpsuite"
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')
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
}