mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 18:13:50 +02:00
atom: update to 1.25.0
This commit is contained in:
parent
a5ee197813
commit
5dab339a37
2 changed files with 15 additions and 5 deletions
12
srcpkgs/atom/patches/icons.patch
Normal file
12
srcpkgs/atom/patches/icons.patch
Normal 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
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'atom'
|
# Template file for 'atom'
|
||||||
pkgname=atom
|
pkgname=atom
|
||||||
version=1.24.1
|
version=1.25.0
|
||||||
revision=1
|
revision=1
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
|
@ -11,13 +11,11 @@ maintainer="Wilson Birney <wpb@360scada.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://atom.io"
|
homepage="https://atom.io"
|
||||||
distfiles="https://github.com/atom/atom/archive/v${version}.tar.gz"
|
distfiles="https://github.com/atom/atom/archive/v${version}.tar.gz"
|
||||||
checksum=d70f71f41bf4a51d8e34c838b21ec585aab4f074a72f4a6d6c75aecef2d7698e
|
checksum=3608c1472879420d3e69f76402f74d9bef9270687bb679b4cde008d328768c5c
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
if [ -e ./apm/package-lock.json ]; then
|
vmkdir /usr/share/icons/hicolor
|
||||||
rm ./apm/package-lock.json
|
|
||||||
fi
|
|
||||||
script/build --install=$DESTDIR/usr
|
script/build --install=$DESTDIR/usr
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue