atom: cp the binary directory rather than js

This commit is contained in:
Chaoting Liu 2018-07-13 15:56:16 +02:00
parent ac8b4fdc5e
commit 4ebf4a7fed

View File

@ -1,6 +1,6 @@
pkgname=atom
pkgver=1.28.1
pkgrel=2
pkgrel=3
pkgdesc='A hackable text editor for the 21st Century'
arch=('x86_64')
url='https://github.com/atom/atom'
@ -71,7 +71,7 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -d -m 755 "${pkgdir}"/usr/share
cp -r out/app "${pkgdir}"/usr/share/atom
cp -r out/atom-$pkgver-amd64/* "${pkgdir}"/usr/share/atom
msg "installing .desktop"
install -d -m 755 "${pkgdir}/usr/share/applications"