mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 01:42:18 +00:00
bbdb6510c0
* feat(pokeget-rs): pull from crates.io * Update rust-pokeget.spec Signed-off-by: madomado <madonuko@outlook.com> * Refactor Pokeget, update licenses * I THOUGHT I added the check bruh * Packager(s) Signed-off-by: Gilver <rockgrub@disroot.org> --------- Signed-off-by: madomado <madonuko@outlook.com> Signed-off-by: Gilver <rockgrub@disroot.org> Co-authored-by: Gilver <rockgrub@disroot.org>
9 lines
329 B
Plaintext
9 lines
329 B
Plaintext
rpm.version(crates("pokeget"));
|
|
// pokesprites has not received an update in years but let's keep the dep commit current just in case
|
|
if rpm.changed () {
|
|
let url = `https://api.github.com/repos/talwat/pokeget-rs/contents/data`;
|
|
let json = get(url).json_arr();
|
|
let c = json[2].sha;
|
|
rpm.global("pcommit", c);
|
|
}
|