You are not logged in.
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
Welcome to the arch linux forums officernice. Could you please post your PKGBUILD that did not quite work?
Offline
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.
Last edited by grinner (2019-07-24 19:23:32)
Offline
@grinner why would you need that symlink when building the packages from source?
Offline
Welcome to the arch linux forums officernice. Could you please post your PKGBUILD that did not quite work?
Thank you very much, loqs! 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
why would you need that symlink when building the packages from source?
It depends on what the 'source' is.
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
pkgname=fortressone
pkgver=1.1
pkgrel=1
pkgdesc="All in one QuakeWorld Team Fortress package"
arch=('x86_64')
url="https://www.fortressone.org/"
license=('GPL' 'unknown')
depends=('curl' 'libjpeg-turbo' 'libpng' 'jansson' 'sdl2' 'speex')
makedepends=('git')
source=(git+https://github.com/FortressOne/ezquake-source.git#commit=8ed9381cc5a4d9bed6728b5400345bdef5b5dca7
https://github.com/FortressOne/linux-installer/releases/download/v1.0.1/fortressone-linux-portable-1.0.1.zip)
sha256sums=('SKIP'
'9766276207e9a270b0d15c0579a3c0a34c546bfac173de7b716be2923f439c7e')
build() {
cd ezquake-source
make
}
package() {
install -dm 755 "$pkgdir"/opt
find fortressone -type d -exec install -dm755 '{}' "$pkgdir/opt/"'{}' \;
find fortressone -type f -exec install -Dm644 '{}' "$pkgdir/opt/"'{}' \;
install -Dm 755 ezquake-source/fortressone-linux-x86_64 "$pkgdir"/opt/fortressone/fortressone-linux-x86_64
}
Layout set to match installer and placed under /opt.
The license for files other than the binary is not specified by upstream.
Offline