void-packages/srcpkgs/atom/template

22 lines
720 B
Bash

# Template file for 'atom'
pkgname=atom
version=1.26.1
revision=1
nocross=yes
nostrip=yes
hostmakedepends="git pkg-config python-devel nodejs curl gtk+ libXtst libXScrnSaver nss python alsa-lib"
makedepends="python-devel GConf-devel libgnome-keyring-devel libX11-devel libxkbfile-devel libsecret-devel"
short_desc="Chrome-based text editor from Github"
maintainer="Wilson Birney <wpb@360scada.com>"
license="MIT"
homepage="https://atom.io"
distfiles="https://github.com/atom/atom/archive/v${version}.tar.gz"
checksum=d5c2fab3f671b4162992d0baffb2393bc58e6b361aa37214dcc5c9be1e03c65f
only_for_archs="i686 x86_64"
do_install() {
vmkdir /usr/share/icons/hicolor
script/build --install=$DESTDIR/usr
vlicense LICENSE.md
}