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

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"
}