Repo con versione iniziale.

This commit is contained in:
Emiliano Vavassori 2024-01-29 22:30:10 +01:00
parent c6db660a20
commit 9da9f20daa
2 changed files with 32 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.deb
*.tar.*

30
PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Emiliano Vavassori <syntaxerrormmm@gmail.com>
pkgname=ferrumgate-bin
pkgver=1.9.0
pkgrel=1
pkgdesc="Ferrumgate client for Linux - Binaries from .deb"
arch=('x86_64')
license=('Apache-2.0')
url="https://ferrumgate.com/"
install=
options=('!strip')
ARCH='amd64'
md5sums=('0000e6bbc3c38b68f47333921ff9dbd2')
source=('https://github.com/ferrumgate/secure.client/releases/download/v1.9.0/ferrumgate_1.9.0_linux_amd64.deb')
build() {
pkgsrc=$srcdir/$pkgbase-$pkgver
mkdir $pkgsrc
ar -xv ferrumgate_${pkgver}_linux_amd64.deb || return 1
tar -xvf data.tar.[xg]z -C $pkgsrc || return 1
}
package() {
cd $srcdir/$pkgbase-$pkgver
install -d $pkgdir/usr
cp -dr --no-preserve=ownership $srcdir/$pkgbase-$pkgver/usr $pkgdir
install -d $pkgdir/opt
cp -dr --no-preserve=ownership $srcdir/$pkgbase-$pkgver/opt $pkgdir
}