New package: upwork-5.1.0.562 (closes #1121)

This commit is contained in:
cr6git 2018-08-26 09:37:16 +02:00 committed by GitHub
parent 9ba1b57672
commit fd6714e57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

33
srcpkgs/upwork/template Normal file
View File

@ -0,0 +1,33 @@
# Template file for 'upwork'
pkgname=upwork
version=5.1.0.562
revision=1
_rawver=${version//./_}
_hashver="f3wgs5ljinabm69t"
only_for_archs="x86_64"
depends="alsa-lib gtk+ GConf gdk-pixbuf nss libXtst libXScrnSaver"
short_desc="Desktop Upwork app"
maintainer="Arthur Evstifeev <mail@ap4y.me>"
license="Proprietary"
repository="nonfree"
restricted=yes
nopie=yes
homepage="https://upwork.com/"
distfiles="https://updates-desktopapp.upwork.com/binaries/v${_rawver}_${_hashver}/upwork_${version}_amd64.deb
https://upwork.pactsafe.io/versions/5ab3efef63d65b6a18aab106.pdf>LICENSE.pdf"
checksum="af70dae3d1cd5910d3ab591201caf75b13758d12e487b44cd32452c305df68c0
0949da5999c3b948bcc4165e6c55522915d9bab1790d27120eda0915aae143bb"
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/upwork_${version}_amd64.deb
tar xf data.tar.xz
}
do_install() {
vbin usr/bin/upwork
vinstall usr/share/applications/upwork.desktop 644 usr/share/applications
vinstall usr/share/menu/upwork 644 usr/share/menu
vinstall usr/share/pixmaps/upwork.png 644 usr/share/pixmaps
vcopy usr/share/upwork usr/share
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.pdf
}