# Compiling Time: 13.15 SBU # Maintainer: Pingax # Contributor: darknekros pkgname=atom pkgver=1.57.0 pkgrel=1 _nodejsver=10.2.1 pkgdesc="Atom is a hackable text editor for the 21st century from GitHub." groups=('xapps-extra') archs=('x86_64') depends=('libgnome-keyring' 'nodejs>=6.3.1-2' 'gconf' 'python' 'git' \ 'alsa-lib' 'libcups' 'libnotify' 'libxtst' 'nss' 'gtk+3' \ 'libsecret' 'ctags' 'libxscrnsaver' 'libxrandr' 'ripgrep') _F_github_tag_v=$pkgver _F_github_grepv="beta" Finclude github source=("https://github.com/atom/atom/releases/download/v$pkgver/atom-amd64.tar.gz" \ atom.desktop \ atom.png ) sha1sums=('81e358f8874abc40a6c6e054e33f3156e6ba8a18' \ '7882529891a1b21faff29dc86534dda38528c1f6' \ 'b8889a6da442741d8ea65857c3d6181a020a9652') provides=('apm') conflicts=('apm') replaces=('apm') build() { Fmkdir usr/share/ Fcp atom-$pkgver-amd64 usr/share/atom # Linking to the bin directory. Fln /usr/share/atom/resources/app/apm/bin/apm usr/bin/apm Fln /usr/share/atom/atom usr/bin/atom # Installation of the desktop file and a missing icon file. Finstall 644 usr/share/applications/atom.desktop Finstall 644 usr/share/pixmaps/atom.png ## Remove files linked against openssl 1.0: won't work anyway Frm usr/share/atom/resources/app.asar.unpacked/node_modules/dugite/git/libexec/git-core/git-imap-send } # optimization OK