Package Details: libfirefly-git 1.0.0-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://github.com/tbhaxor/firefly
Keywords: c++ calculations firefly library vector
Licenses: GPL3
Submitter: tbhaxor
Maintainer: tbhaxor
Last Packager: tbhaxor
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-18 19:07
Last Updated: 2019-10-19 04:32

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

tbhaxor commented on 2019-10-19 04:33

Thanks, i have changed the PKGBUILD config

yochananmarqos commented on 2019-10-18 22:32

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