diff --git a/srcpkgs/atom/patches/icons.patch b/srcpkgs/atom/patches/icons.patch new file mode 100644 index 00000000000..ce9a00da05e --- /dev/null +++ b/srcpkgs/atom/patches/icons.patch @@ -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 diff --git a/srcpkgs/atom/template b/srcpkgs/atom/template index 57de7ea8c01..9872ff4b21c 100644 --- a/srcpkgs/atom/template +++ b/srcpkgs/atom/template @@ -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 " 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 }