Package Details: freelan-git r3864.512f6799-1

Git Clone URL: https://aur.archlinux.org/freelan-git.git (read-only)
Package Base: freelan-git
Description: Peer-to-peer, secure, easy-to-setup, multi-platform, highly-configurable VPN software
Upstream URL: https://github.com/freelan-developers/freelan
Licenses: GPL
Submitter: SplitFire
Maintainer: buzo
Last Packager: buzo
Votes: 8
Popularity: 0.000245
First Submitted: 2016-05-28 08:42
Last Updated: 2018-09-14 19:29

Latest Comments

« First ‹ Previous 1 2

kfg commented on 2016-08-05 11:51

Hi

since your PKGBUILD sets the prefix to /usr/bin with current git sources all installed files end up there. Thus with the current PKGBUILD the freelan executable is moved to /usr/bin/bin/freelan and the config ends up in /usr/bin/etc/freelan/freelan.cfg.

This patch fixes that issue and also uses the new bin_prefix variable to make sure the bin directory is installed as /usr/bin.

diff --git a/PKGBUILD b/PKGBUILD
index c748734..7f5b1d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,6 +20,5 @@ pkgver() {

package() {
cd "$srcdir/$pkgname"
- mkdir -p $pkgdir/usr/bin
- scons install prefix=$pkgdir/usr/bin
+ scons install prefix=$pkgdir/ bin_prefix=$pkgdir/usr
}