atom: multiple random tweaks. (close #1065)
This commit is contained in:
parent
8f7270142b
commit
767f245384
1 changed files with 4 additions and 7 deletions
|
@ -2,9 +2,8 @@
|
|||
pkgname=atom
|
||||
version=0.186.0
|
||||
revision=1
|
||||
build_style=meta
|
||||
hostmakedepends="git nodejs>=0.10.0 pkg-config libgnome-keyring-devel"
|
||||
makedepends="nodejs>=0.10.0 python<3.0.0 GConf-devel libgnome-keyring-devel"
|
||||
hostmakedepends="git nodejs pkg-config python-devel"
|
||||
makedepends="python-devel GConf-devel libgnome-keyring-devel"
|
||||
short_desc="Chrome-based text editor from Github"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
license="MIT"
|
||||
|
@ -15,14 +14,12 @@ do_fetch() {
|
|||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone --branch v${version} ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
msg_normal "Building ${pkgname} in $(pwd)\n"
|
||||
script/build
|
||||
}
|
||||
|
||||
do_install() {
|
||||
msg_normal "Installing ${pkgname} in ${PKGDESTDIR}/usr\n"
|
||||
script/grunt install --install-dir ${PKGDESTDIR}/usr
|
||||
sed -i "s|${PKGDESTDIR}||" ${PKGDESTDIR}/usr/share/applications/atom.desktop
|
||||
# remove useless static libs
|
||||
find ${DESTDIR} -type f -name \*.a -delete
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue