35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'upwork'
|
|
pkgname=upwork
|
|
version=5.6.10.0
|
|
revision=1
|
|
_rawver=${version//./_}
|
|
_hashver="b124e6f3a4944b32"
|
|
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="custom:Upwork"
|
|
homepage="https://upwork.com/"
|
|
distfiles="https://upwork-usw2-desktopapp.upwork.com/binaries/v${_rawver}_${_hashver}/${pkgname}_${version}_amd64.deb
|
|
https://upwork.pactsafe.io/versions/5ab3efef63d65b6a18aab106.pdf>LICENSE.pdf"
|
|
checksum="fd201ce817abe32e1b582bb4b55fef85ac8132806f5ddf0548fd25bbfd48833c
|
|
0949da5999c3b948bcc4165e6c55522915d9bab1790d27120eda0915aae143bb"
|
|
repository="nonfree"
|
|
restricted=yes
|
|
nopie=yes
|
|
|
|
# Skip runtime dependenies check, otherwise NEEDED libGLESv2.so (which is bundled with the package)
|
|
# will trigger dependency on rpi-userland packages (makes no sense on x86_64).
|
|
skiprdeps="/opt/${pkgname^}/libEGL.so"
|
|
|
|
do_extract() {
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_amd64.deb
|
|
bsdtar xf data.tar.xz
|
|
}
|
|
|
|
do_install() {
|
|
vcopy opt opt
|
|
vcopy usr usr
|
|
vbin ${FILESDIR}/${pkgname}
|
|
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.pdf
|
|
}
|