28 lines
985 B
Bash
28 lines
985 B
Bash
# Template file for 'atom'
|
|
pkgname=atom
|
|
version=1.31.2
|
|
revision=1
|
|
nocross=yes
|
|
nostrip=yes
|
|
hostmakedepends="git pkg-config python-devel nodejs curl gtk+3 libXtst libXScrnSaver nss python alsa-lib"
|
|
makedepends="python-devel GConf-devel libgnome-keyring-devel gtk+3-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=baff1b23e03c638584d01817bda15503e66eff1c231c3952670c94b345588628
|
|
only_for_archs="x86_64"
|
|
|
|
do_install() {
|
|
npm install -g gyp
|
|
vmkdir /usr/share/icons/hicolor
|
|
script/build --install=$DESTDIR/usr
|
|
vlicense LICENSE.md
|
|
}
|
|
|
|
post_install() {
|
|
#very hackish, git-imap-send is linked to openssl's libssl/libcrypto. Removing it allows it to package
|
|
rm ${DESTDIR}/usr/share/atom/resources/app.asar.unpacked/node_modules/dugite/git/libexec/git-core/git-imap-send
|
|
}
|