atom: update to 1.25.0

This commit is contained in:
Wilson Birney 2018-03-22 22:10:04 -04:00 committed by Michael Gehring
parent a5ee197813
commit 5dab339a37
2 changed files with 15 additions and 5 deletions

View File

@ -0,0 +1,12 @@
--- script/lib/install-application.js
+++ script/lib/install-application.js
@@ -79,7 +79,8 @@ module.exports = function (packagedAppPath, installDir) {
install(installationDirPath, packagedAppFileName, packagedAppPath)
{ // Install icons
- const baseIconThemeDirPath = findBaseIconThemeDirPath()
+ const baseIconThemeDirPath = path.join(prefixDirPath, 'share/icons/hicolor')
+
const fullIconName = atomExecutableName + '.png'
let existingIconsFound = false

View File

@ -1,6 +1,6 @@
# Template file for 'atom'
pkgname=atom
version=1.24.1
version=1.25.0
revision=1
nocross=yes
nostrip=yes
@ -11,13 +11,11 @@ maintainer="Wilson Birney <wpb@360scada.com>"
license="MIT"
homepage="https://atom.io"
distfiles="https://github.com/atom/atom/archive/v${version}.tar.gz"
checksum=d70f71f41bf4a51d8e34c838b21ec585aab4f074a72f4a6d6c75aecef2d7698e
checksum=3608c1472879420d3e69f76402f74d9bef9270687bb679b4cde008d328768c5c
only_for_archs="i686 x86_64"
do_install() {
if [ -e ./apm/package-lock.json ]; then
rm ./apm/package-lock.json
fi
vmkdir /usr/share/icons/hicolor
script/build --install=$DESTDIR/usr
vlicense LICENSE.md
}