void-packages/srcpkgs/atom/template

24 lines
761 B
Bash

# Template file for 'atom'
pkgname=atom
version=1.23.2
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=d814b179cdd816faf832ef4da2e4b5deaa03c3ad9b22291972f72837bde525a3
only_for_archs="i686 x86_64"
do_install() {
if [ -e ./apm/package-lock.json ]; then
rm ./apm/package-lock.json
fi
script/build --install=$DESTDIR/usr
vlicense LICENSE.md
}