Commit 033cef49 authored by Daniel Peukert's avatar Daniel Peukert
Browse files

Added orbx-central

parent c1206000
_projectname='central'
pkgname="orbx-$_projectname"
pkgver='4.1.14'
_hash='17b6cdce'
pkgrel='1'
pkgdesc="Orbx's all-in-one purchase and installation platform"
arch=('x86_64')
url="https://orbxdirect.com/$_projectname"
license=('custom')
depends=('electron8-bin' 'gconf' 'lib32-glibc' 'libappindicator-gtk2' 'libindicator-gtk2' 'libnotify' 'libxss' 'libxtst')
options=('!strip')
source=("$pkgname-$pkgver-$pkgrel.AppImage::https://web.goog.cdn.orbxdirect.com/software/$_projectname/$pkgver-$_hash/$pkgname-$pkgver.AppImage")
sha256sums=('0000000000000000000000000000000000000000000000000000000000000000')
_sourcedirectory='squashfs-root'
prepare() {
cd "$srcdir/"
chmod +x "$pkgname-$pkgver-$pkgrel.AppImage"
"./$pkgname-$pkgver-$pkgrel.AppImage" --appimage-extract
}
package() {
cd "$srcdir/$_sourcedirectory/"
install -Dm644 'resources/app.asar' "$pkgdir/usr/lib/$pkgname/app.asar"
# install -Dm644 'resources/app-update.yml' "$pkgdir/usr/lib/$pkgname/app-update.yml"
# saturn-linux
install -dm755 "$pkgdir/usr/bin/"
cat << EOF > "$pkgdir/usr/bin/$pkgname"
#!/bin/sh
NODE_ENV=production exec electron8 '/usr/lib/$pkgname/app.asar' "\$@"
EOF
chmod +x "$pkgdir/usr/bin/$pkgname"
install -Dm644 'LICENSE.electron.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE.electron.txt"
install -Dm644 'LICENSES.chromium.html' "$pkgdir/usr/share/licenses/$pkgname/LICENSES.chromium.html"
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "usr/share/icons/hicolor/0x0/apps/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment