Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
chromebrew
Commits
40b8207d
Commit
40b8207d
authored
May 09, 2020
by
Ed Reel
Committed by
GitHub
May 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update brackets from 1.14.1 to 1.14.1-1 (#4068)
parent
2257a5f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
32 deletions
+30
-32
packages/brackets.rb
packages/brackets.rb
+30
-32
No files found.
packages/brackets.rb
View file @
40b8207d
...
...
@@ -3,9 +3,17 @@ require 'package'
class
Brackets
<
Package
description
'A modern, open source text editor that understands web design.'
homepage
'http://brackets.io/'
version
'1.14.1'
version
'1.14.1-1'
case
ARCH
when
'i686'
,
'x86_64'
source_url
'https://github.com/adobe/brackets/archive/release-1.14.1.tar.gz'
source_sha256
'9a07fc80a155d2490be4eff77a2622539012325cef18e89305b8bc45c4c3833d'
depends_on
'alien'
=>
:build
depends_on
'gtk2'
depends_on
'libgconf'
depends_on
'xdg_base'
depends_on
'sommelier'
end
binary_url
({
i686:
'https://dl.bintray.com/chromebrew/chromebrew/brackets-1.14.1-chromeos-i686.tar.xz'
,
...
...
@@ -16,38 +24,28 @@ class Brackets < Package
x86_64:
'ddcef49b895b1d132ceef90406044ce7699cc21dfa1d048e059bafa2945399bc'
,
})
depends_on
'alien'
=>
:build
depends_on
'gtk2'
depends_on
'libgconf'
depends_on
'xdg_base'
depends_on
'sommelier'
def
self
.
build
case
ARCH
when
'x86_64'
system
"wget https://github.com/adobe/brackets/releases/download/release-
#{
version
}
/Brackets.Release.
#{
version
}
.64-bit.deb"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"Brackets.Release.
#{
version
}
.64-bit.deb"
)
)
==
'dd8346ee7061e8820ecb7859f5cdccb6f199b144dd17192c217dd49512c4452b'
system
"alien -t -c Brackets.Release.
#{
version
}
.64-bit.deb"
system
"tar xvf brackets-
#{
version
}
.tgz"
arch
=
'64-bit'
sha256
=
'dd8346ee7061e8820ecb7859f5cdccb6f199b144dd17192c217dd49512c4452b'
when
'i686'
system
"wget https://github.com/adobe/brackets/releases/download/release-
#{
version
}
/Brackets.Release.
#{
version
}
.32-bit.deb"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"Brackets.Release.
#{
version
}
.32-bit.deb"
)
)
==
'6ef1567b75a197236b3d35785afa744752a28b74cfa51b93b7b78d0a50acbfd4'
system
"alien -t -c Brackets.Release.
#{
version
}
.32-bit.deb"
system
"tar xvf brackets-
#{
version
}
.tgz"
arch
=
'32-bit'
sha256
=
'6ef1567b75a197236b3d35785afa744752a28b74cfa51b93b7b78d0a50acbfd4'
end
package
=
"Brackets.Release.
#{
version
}
.
#{
arch
}
.deb"
system
"wget https://github.com/adobe/brackets/releases/download/release-
#{
version
}
/
#{
package
}
"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
package
)
)
==
sha256
system
"alien -tc
#{
package
}
"
system
"tar xvf brackets-
#{
version
}
.tgz"
end
def
self
.
install
case
ARCH
when
'i686'
,
'x86_64'
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_HOME
}
/.config/Brackets"
FileUtils
.
mv
'usr/share'
,
"
#{
CREW_DEST_PREFIX
}
"
FileUtils
.
mv
'opt/brackets'
,
"
#{
CREW_DEST_PREFIX
}
/share"
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/share/brackets/Brackets"
,
"
#{
CREW_DEST_PREFIX
}
/bin/brackets"
system
"touch
#{
CREW_DEST_HOME
}
/.config/Brackets/window.ini"
else
abort
"Architecture
#{
ARCH
}
not supported."
.
lightred
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment