Package Details: libfirefly-git ec7ae69-1

Git Clone URL: https://aur.archlinux.org/libfirefly-git.git (read-only, click to copy)
Package Base: libfirefly-git
Description: A standalone C++ Library for vectors calculations
Upstream URL: https://libfirefly.tbhaxor.com
Keywords: c++ calculations firefly library vector
Licenses: GPL-3.0-or-later
Conflicts: libfirefly2
Submitter: tbhaxor
Maintainer: tbhaxor
Last Packager: tbhaxor
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-18 19:07 (UTC)
Last Updated: 2023-11-11 18:23 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

xiota commented on 2023-11-11 19:08 (UTC) (edited on 2023-11-11 19:10 (UTC) by xiota)

Thanks for updating. Some new / unresolved issues. Some also apply to libfirefly2.

  • url 526 invalid ssl. Consider using git project page, since this is a git package. https://github.com/tbhaxor/firefly
  • License string should be GPL3, not "GPL-3.0-or-later".
  • This should provides libfirefly2, possibly also libfirefly.
    • libfirefly2 does not need any provides/conflicts at all if this package has correct ones.
  • pkgver() should be updated to use git describe --long --tags | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'.

tbhaxor commented on 2023-11-11 18:23 (UTC)

Hi @xiota I have update PKGBUILD. Thanks for your review, appreciate your efforts :D

tbhaxor commented on 2019-10-19 04:33 (UTC)

Thanks, i have changed the PKGBUILD config

yochananmarqos commented on 2019-10-18 22:32 (UTC) (edited on 2019-10-18 22:37 (UTC) by yochananmarqos)

Do NOT use sudo! Makepkg builds in a fakeroot environment, pacman requires sudo to install it.

Use a pkgver() array, see VCS package guidelines.

make needs to be part of the build() array.

If you want to display some info, use an install file, don't create unnecessary variables and arrays. Templates are in /usr/share/pacman/.

build() {
    cd ${pkgname}
    mkdir build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
    make
}

package() {
    cd ${pkgname}/build
    make DESTDIR="$pkgdir/" install
    install -Dm744 ../INCLUDES/firefly.hpp "$pkgdir/usr/include/firefly.hpp"
}