summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Mosakowski2018-07-23 10:13:32 +0100
committerPawel Mosakowski2018-07-23 10:13:32 +0100
commitcf55bcb06657e056d93c3e05ba292a9e6f26b54f (patch)
tree8bfafd52719f1819804dedd961a29448e2f2fd68
parent4d66e166bfcd9d805d242d02082c146e5af73d24 (diff)
downloadaur-cf55bcb06657e056d93c3e05ba292a9e6f26b54f.tar.gz
Due to upstream removing 4.1 I have downgraded to 4.0.1. Rewritten PKGBUILD to not use dpkg
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD30
2 files changed, 15 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 89d9cef2c80..c6d4d1f785a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = appgate-sdp
pkgdesc = Software Defined Perimeter - GUI client
- pkgver = 4.1.0
+ pkgver = 4.0.1
pkgrel = 1
url = https://www.cyxtera.com/secure-access/appgate-sdp
arch = x86_64
license = custom
- makedepends = dpkg
depends = gconf
depends = libsecret
depends = gtk3
@@ -15,11 +14,9 @@ pkgbase = appgate-sdp
depends = nodejs
depends = dnsmasq
conflicts = appgate-sdp-headless
- noextract = appgate-sdp_4.1.0_amd64.deb
- noextract = appgatedriver.service
- source = https://sdpdownloads.cyxtera.com/files/download/AppGate-SDP-4.1.0/clients/appgate-sdp_4.1.0_amd64.deb
+ source = https://sdpdownloads.cyxtera.com/files/download/AppGate-SDP-4.0.1/clients/appgate-sdp_4.0.1_amd64.deb
source = appgatedriver.service
- md5sums = 424c3def083993c095e4bad0252cb848
+ md5sums = fcc77359e74bd728e2dd74acdaf4dc85
md5sums = 002644116e20b2d79fdb36b7677ab4cf
pkgname = appgate-sdp
diff --git a/PKGBUILD b/PKGBUILD
index 86e26324d92..1aa2f04226e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Pawel Mosakowski <pawel@mosakowski.net>
pkgname=appgate-sdp
conflicts=('appgate-sdp-headless')
-pkgver=4.1.0
+pkgver=4.0.1
pkgrel=1
epoch=
pkgdesc="Software Defined Perimeter - GUI client"
@@ -17,31 +17,25 @@ license=('custom')
# dependecies calculated by namcap
depends=('gconf' 'libsecret' 'gtk3' 'python' 'nss' 'libxss' 'nodejs' 'dnsmasq')
-makedepends=('dpkg')
source=("https://sdpdownloads.cyxtera.com/files/download/AppGate-SDP-${pkgver}/clients/${pkgname}_${pkgver}_amd64.deb"
"appgatedriver.service")
-# don't unpack anything
-noextract=("${source[@]##*/}")
-
prepare() {
- dpkg -x "${pkgname}_${pkgver}_amd64.deb" "${pkgname}-${pkgver}"
+ tar -xf data.tar.xz
}
package() {
- cd "$pkgname-$pkgver"
- cp -vr * "$pkgdir/"
-
- mv -v "$pkgdir/lib/systemd/system" "$pkgdir/usr/lib/systemd/"
- rm -vrf "$pkgdir/lib"
+ cp -dpr "${srcdir}"/{etc,lib,opt,usr} "${pkgdir}"
+ mv -v "$pkgdir/lib/systemd/system" "$pkgdir/usr/lib/systemd/"
+ rm -vrf "$pkgdir/lib"
- cp -v "$srcdir/appgatedriver.service" "$pkgdir/usr/lib/systemd/system/appgatedriver.service"
-
- mkdir -vp "$pkgdir/usr/share/licenses/appgate-sdp"
- cp -v "$pkgdir/usr/share/doc/appgate/copyright" "$pkgdir/usr/share/licenses/appgate-sdp"
- cp -v "$pkgdir/usr/share/doc/appgate/LICENSE.github" "$pkgdir/usr/share/licenses/appgate-sdp"
- cp -v "$pkgdir/usr/share/doc/appgate/LICENSES.chromium.html.bz2" "$pkgdir/usr/share/licenses/appgate-sdp"
+ cp -v "$srcdir/appgatedriver.service" "$pkgdir/usr/lib/systemd/system/appgatedriver.service"
+
+ mkdir -vp "$pkgdir/usr/share/licenses/appgate-sdp"
+ cp -v "$pkgdir/usr/share/doc/appgate/copyright" "$pkgdir/usr/share/licenses/appgate-sdp"
+ cp -v "$pkgdir/usr/share/doc/appgate/LICENSE.github" "$pkgdir/usr/share/licenses/appgate-sdp"
+ cp -v "$pkgdir/usr/share/doc/appgate/LICENSES.chromium.html.bz2" "$pkgdir/usr/share/licenses/appgate-sdp"
}
-md5sums=('424c3def083993c095e4bad0252cb848'
+md5sums=('fcc77359e74bd728e2dd74acdaf4dc85'
'002644116e20b2d79fdb36b7677ab4cf')