24 lines
761 B
Bash
24 lines
761 B
Bash
# Template file for 'atom'
|
|
pkgname=atom
|
|
version=1.23.3
|
|
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=f739002e52b6057667880223c1ddfcb648b8cc4c922442903e89df7f7bd0a09f
|
|
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
|
|
}
|