You are not logged in.

#1 2019-07-24 07:27:45

officernice
Member
Registered: 2019-07-24
Posts: 2

PKGBUILD request: FortressOne

I'd like to request a build of Fortress One: https://www.fortressone.org/

I used their installer but it did not quite work. Ubuntu is the only thing they really tested. I tried requesting an AUR pkg on the Github but no answer as of yet. I tried doing it myself, reading along (including the guidelines), and I could not quite get it to work. I have a lot going on atm personally, which does not help. My digging did result in that as far as I can see it depends on wget and pcre.

Offline

#2 2019-07-24 16:14:42

loqs
Member
Registered: 2014-03-06
Posts: 8,169

Re: PKGBUILD request: FortressOne

Welcome to the arch linux forums officernice.  Could you please post your PKGBUILD that did not quite work?

Offline

#3 2019-07-24 19:14:25

grinner
Member
Registered: 2019-06-28
Posts: 16

Re: PKGBUILD request: FortressOne

As far as I can tell the only issue on Arch (based) systems is that it is needed to create a symlink to libpcre.

sudo ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3

No idea of the do's and dont's of making an AUR package. smile

Last edited by grinner (2019-07-24 19:23:32)

Offline

#4 2019-07-24 19:55:31

loqs
Member
Registered: 2014-03-06
Posts: 8,169

Re: PKGBUILD request: FortressOne

@grinner why would you need that symlink when building the packages from source?

Offline

#5 2019-07-25 07:41:52

officernice
Member
Registered: 2019-07-24
Posts: 2

Re: PKGBUILD request: FortressOne

loqs wrote:

Welcome to the arch linux forums officernice.  Could you please post your PKGBUILD that did not quite work?

Thank you very much, loqs! smile This is what I have so far, and as I read it, and kinda compared it to empty defaults and other PKGBUILDS, I just thought "I have no idea what I am doing"

# Maintainer: Your Name <youremail@domain.com>
pkgname=fortressone
pkgver=1.0.1
pkgrel=1
pkgdesc="All in one QuakeWorld Team Fortress package"
arch=('x86_64')
url="https://www.fortressone.org/"
license=('GPL')
groups=()
depends=(
    'wget'
    'pcre'
    )
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$fortressone-$1.0.1.tar.gz::https://github.com/FortressOne/linux-installer/releases/download/v1.0.1/fortressone-linux-portable-1.0.1.zip")
noextract=()
md5sums=() #autofill using updpkgsums

build() {
  cd "$fortressone-$1.0.1"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$fortressone-$1.0.1"

  make ~/.fortressone/="$.fortressone/" install
}

Offline

#6 2019-07-25 09:00:45

grinner
Member
Registered: 2019-06-28
Posts: 16

Re: PKGBUILD request: FortressOne

loqs wrote:

why would you need that symlink when building the packages from source?

It depends on what the 'source' is. wink

By implication I was querying the reason for an AUR package (since the installer worked fine for me).  But it certainly won't hurt - I'll let you reply to officernice.

Offline

Board footer

Powered by FluxBB