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