mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
8cf15e083a
* [Add] add android-studio-canary package
* Update changelog
* Update .spec file
* Update .spec file [2]
* Implement automatic updates
* Add nightly
* Make anda build happy
* fix typo
* Add .desktop file check
* Add desktop-file-utils dep
* Update desktop file check
---------
(cherry picked from commit a170c49d3f)
Signed-off-by: veuxit <232229112+veuxit@users.noreply.github.com>
Co-authored-by: veuxit <232229112+veuxit@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
10 lines
351 B
Plaintext
10 lines
351 B
Plaintext
let html = get("https://developer.android.com/studio/preview");
|
|
let pattern = `ide-zips/([^/]+)/android-studio-(.*?)-linux\.tar\.gz`;
|
|
let nofilter = find(pattern, html, 0);
|
|
let version = find(pattern, html, 1);
|
|
let suffixS = find(pattern, html, 2);
|
|
print(nofilter);
|
|
print(version);
|
|
print(suffixS);
|
|
rpm.version(version);
|
|
rpm.define("suffixS", suffixS); |