SHARE
TWEET

Untitled

a guest Jul 22nd, 2018 145 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=snx
  2. pkgver=800008061
  3. pkgrel=1
  4. pkgdesc="Check Point SSL Network Extender (vpn client)"
  5. arch=('x86_64')
  6. license=('propietary')
  7. depends=('lib32-pam' 'lib32-libstdc++5' 'lib32-libx11')
  8. #source=("snx_install.sh")
  9. source=("https://vpnportal.aktifbank.com.tr/SNX/INSTALL/snx_install.sh")
  10. noextract=("${source[@]%%::*}")
  11. md5sums=('ccf5c17f2820cc02b13b3460d12c0401')
  12.  
  13. build() {
  14.     cd "$pkgname-$pkgver"
  15. }
  16.  
  17. prepare() {
  18.     mkdir "$pkgname-$pkgver"
  19.  
  20.     # ARCHIVE_OFFSET FROM snx_install.sh FILE
  21.     ARCHIVE_OFFSET=78
  22.     tail -n +$ARCHIVE_OFFSET snx_install.sh >snx.tar.bz2
  23.  
  24.     cd "$pkgname-$pkgver"
  25.     tar -xvf ../snx.tar.bz2
  26. }
  27.  
  28.  
  29. package() {
  30.     cd "$pkgname-$pkgver"
  31.     install -Dm4511 snx $pkgdir/usr/bin/snx
  32.     install -dm0700 $pkgdir/etc/snx
  33.     install -dm0700 $pkgdir/etc/snx/tmp
  34. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top