31 lines
839 B
Bash
31 lines
839 B
Bash
# 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
|
|
}
|