diff options
author | Omar Pakker | 2017-05-12 16:09:58 +0200 |
---|---|---|
committer | Omar Pakker | 2017-05-12 16:09:58 +0200 |
commit | 2f17031801a10caf5195c53dcfebeb9afc4065b4 (patch) | |
tree | 412aef0454a1dc3fe5f11265da312a77a1453c76 /PKGBUILD | |
download | aur-oracle-sgdc-bin.tar.gz |
Initial package. User has to manually supply the SGDC source tar.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fcb140f89d28 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Omar Pakker <archlinux@opakker.nl> + +_pkgname=oracle-sgdc +pkgname=${_pkgname}-bin +pkgver="5.20.921" +pkgrel=1 +pkgdesc="The Oracle Secure Global Desktop Client allows you to connect to an Oracle Secure Global Desktop server." +arch=('i686' 'x86_64') +url="http://www.oracle.com/us/technologies/virtualization/secure-global-desktop/overview/index.html" +license=('unknown') +depends_i686=('libxpm' 'libxinerama' 'libxcursor' 'libxkbfile' 'openmotif') +depends_x86_64=('lib32-libxpm' 'lib32-libxinerama' 'lib32-libxcursor' 'lib32-libxkbfile' 'lib32-openmotif') +makedepends=('gendesk') +provides=('oracle-sgdc') +conflicts=('oracle-sgdc') +install=${_pkgname}.install +source=("osgdc.png" "sgdcfile://sgdci3li.tar") +sha256sums=('866e0a618b330ba28d70fbdd3ad43d25e182587f50f88dbbe28543aa28a09378' + 'SKIP') + +DLAGENTS+=('sgdcfile::/usr/bin/echo "Please obtain the Oracle SGD client tar (sgdci3li.tar) manually and put it next to the PKGBUILD. It can be obtained from an SGD server or from the Oracle eDelivery network SGD RPM files (opt/tarantella/var/docroot/client/sgdci3li.tar)"') + +pkgver() { + printf "%s" $(sed -n '/^PRODUCT_VERSION_FULL=/s,^PRODUCT_VERSION_FULL=,,p' "${srcdir}/sgdc/install") +} + +prepare() { + # Create .desktop file. + gendesk -f -n \ + --pkgname "${_pkgname}" \ + --pkgdesc "${pkgdesc}" \ + --name "Oracle Secure Global Desktop Client" \ + --genericname "Remote Desktop" \ + --comment "Oracle SGD client for connecting to Oracle SGD servers." \ + --exec "/usr/bin/ttatcc -prompt" \ + --categories "Network;RemoteAccess;" +} + +package() { + install -Dm644 "${srcdir}/osgdc.png" "${pkgdir}/usr/share/pixmaps/oracle-sgdc.png" + install -Dm644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" + install -Dm755 "${srcdir}/sgdc/ttatcc" "${pkgdir}/usr/bin/ttatcc" +} |