Skip to content

Instantly share code, notes, and snippets.

@bumi
Last active May 19, 2020 08:45
Show Gist options
  • Save bumi/3b5fe8c1e0fc0bf99b0951ff9bba1be5 to your computer and use it in GitHub Desktop.
Save bumi/3b5fe8c1e0fc0bf99b0951ff9bba1be5 to your computer and use it in GitHub Desktop.
PKGBUILD for screen.so
# Maintainer: Michael Bumann <hello@michaelbumann.com>
pkgname=screen-desktop
pkgver=1.2.0
pkgrel=1
pkgdesc="Desktop client for screen.so"
arch=('x86_64')
url="https://screen.so"
license=('unknown')
depends=()
makedepends=('libarchive')
source=("https://download.screen.so/desktop-app/linux/${pkgver}/${pkgname}-${pkgver}-${pkgrel}.x86_64.rpm")
noextract=()
sha512sums=(10f6ca319f587c92ab48bcdb4090e8be8c95ef6bacd63bc0ec1a72b590b7a3037d71c16972a8d807872385b8b7a5684391397db002117ef44da1660fd94cb3f5)
validpgpkeys=()
package() {
cd ${srcdir}/
bsdtar -xf ${pkgname}-${pkgver}-${pkgrel}.x86_64.rpm -C ${pkgdir}
}
@lotia
Copy link

lotia commented Apr 12, 2020

Hi @bumi, I can help. I'm also an arch user and am equally interested in having an AUR package. Would you like to collaborate on publishing the AUR or would you prefer I do it? Also what help would you like regarding publishing the package?

@bumi
Copy link
Author

bumi commented Apr 12, 2020

Hey @lotia awesome! I am happy to help, but I am not sure if I can contribute more than the PKGBUILD above right now. :)
I am not sure if the PKGBUILD above is the proper way to do it and what else should be done before publishing.
If you already know how to do it, go ahead.

@captn3m0
Copy link

👋

Found this gist via the Screen feedback website. I've created and pushed a package that relies on the Debian upstream: https://aur.archlinux.org/packages/screen-desktop-bin/

The dependencies are as-is from the Debian package with a few marked as optional. I still think a lot of dependencies can be trimmed down, but this is just the first cut. I was also hoping to make it dependent on electron now that screen uses Electron 8, but that didn't seem feasible (electron package doesn't work against encrypted binaries, and neither does asar).

Please test it out and let me know

@captn3m0
Copy link

@bumi
Copy link
Author

bumi commented Apr 21, 2020

oh yay @captn3m0 that's super cool! I will test it with the next update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment