# Maintainer: Marcos Ferreira pkgname="iqoption-bin" pkgver=1247.3.5090 pkgrel=1 pkgdesc="Ultimate trading experience" arch=("x86_64") url="https://iqoption.com" license=("custom:iqoption") depends=("sdl2" "sdl2_image" "sdl2_mixer" "mesa" "libnotify") makedepends=("binutils" "tar" "sed") source=("iqoption.deb::https://updates.iqoption.com/api/v1/build/current/pkg/LinuxGL") sha256sums=("SKIP") prepare() { tar xf control.tar.gz } pkgver() { cat control | head -n 2 | tail -n 1 | cut -d' ' -f 2 } package() { tar xf data.tar.xz -C "${pkgdir}/" _desktop_file=${pkgdir}/usr/share/applications/iqoption.desktop sed -i 's/Exec\S*/Exec=sh -c "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 IQOption"/' $_desktop_file } # vim:set ts=2 sw=2 et: