From b9e022694e4a4c98d0e01f5c985defa8c610c674 Mon Sep 17 00:00:00 2001 From: Sebastian Rust Date: Sun, 10 Jul 2022 13:39:17 +0200 Subject: [PATCH] added: focusmate-nativefier --- .gitmodules | 3 +++ build-pacman-repo.yaml | 1 + focusmate-nativefier | 1 + tasks.py | 6 +++++- 4 files changed, 10 insertions(+), 1 deletion(-) create mode 160000 focusmate-nativefier diff --git a/.gitmodules b/.gitmodules index 19de200..d65b4b6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -55,3 +55,6 @@ [submodule "plymouth-theme-arch-breeze-git"] path = plymouth-theme-arch-breeze-git url = https://aur.archlinux.org/plymouth-theme-arch-breeze-git.git +[submodule "focusmate-nativefier"] + path = focusmate-nativefier + url = https://git.rust.cloud/harlequix/focusmate-nativefier diff --git a/build-pacman-repo.yaml b/build-pacman-repo.yaml index dabd61d..091c4ca 100644 --- a/build-pacman-repo.yaml +++ b/build-pacman-repo.yaml @@ -29,3 +29,4 @@ members: - directory: plog - directory: plymouth-git - directory: plymouth-theme-arch-breeze-git +- directory: focusmate-nativefier diff --git a/focusmate-nativefier b/focusmate-nativefier new file mode 160000 index 0000000..f33b70e --- /dev/null +++ b/focusmate-nativefier @@ -0,0 +1 @@ +Subproject commit f33b70e458642cd072bf2e97b3a8dd12cb001d21 diff --git a/tasks.py b/tasks.py index d7c22f7..0a47da9 100644 --- a/tasks.py +++ b/tasks.py @@ -8,8 +8,12 @@ def aur(c, name): @task def add(c, url, name=None): + print(name) if name is None: - ending = url.rfind('/') + 1 + pos = url.rfind('/') + 1 + print(url) + print(pos) + ending = url[pos:] ending = ending.split(".") name = ending[0] c.run(f"git submodule add {url} {name}")