Commit 4818d89e authored by Chaoting Liu's avatar Chaoting Liu

atom: revert /usr/lib/ to /usr/share

parent 8dd488d2
Pipeline #834 failed with stages
in 33 minutes and 32 seconds
......@@ -51,16 +51,14 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -d -m 755 "${pkgdir}"/usr/lib
cp -r out/app "${pkgdir}"/usr/lib/atom
install -m 644 out/startup.js "${pkgdir}"/usr/lib/atom
install -m 755 "${srcdir}/atom.js" "${pkgdir}"/usr/lib/atom/atom
install -d -m 755 "${pkgdir}"/usr/share
cp -r out/app "${pkgdir}"/usr/share/atom
msg "installing .desktop"
install -d -m 755 "${pkgdir}/usr/share/applications"
sed -e "s|<%= appName %>|Atom|" \
-e "s/<%= description %>/${pkgdesc}/" \
-e "s|<%= installDir %>/share/<%= appFileName %>/atom|/usr/lib/atom/atom|" \
-e "s|<%= installDir %>/share/<%= appFileName %>/atom|/usr/bin/atom|" \
-e "s|<%= iconPath %>|atom|" \
resources/linux/ > "${pkgdir}/usr/share/applications/atom.desktop"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment