atom: fix #1086 (Atom: wrong paths in desktop file)

This commit is contained in:
Juan RP 2015-03-10 07:49:12 +01:00
parent b303d17580
commit 8651d5481c
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'atom'
pkgname=atom
version=0.186.0
revision=1
revision=2
hostmakedepends="git nodejs pkg-config python-devel"
makedepends="python-devel GConf-devel libgnome-keyring-devel"
short_desc="Chrome-based text editor from Github"
@ -18,8 +18,8 @@ do_build() {
script/build
}
do_install() {
script/grunt install --install-dir ${PKGDESTDIR}/usr
sed -i "s|${PKGDESTDIR}||" ${PKGDESTDIR}/usr/share/applications/atom.desktop
script/grunt install --install-dir ${DESTDIR}/usr
sed -i "s|${DESTDIR}||g" ${DESTDIR}/usr/share/applications/atom.desktop
# remove useless static libs
find ${DESTDIR} -type f -name \*.a -delete
}