From fe263dad42570d2ce04840c869f7f258a7766467 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 5 Jul 2022 11:26:24 +0200 Subject: [PATCH] chore: setup arch_makepkg handler --- groups/composing | 2 +- handlers/arch/install_makepkg | 9 +++++++++ packages/aur/arch_makepkg | 1 + packages/chordpro/aur | 1 + packages/lilypond/arch | 1 + packages/{lilypond => lilypond/aur} | 0 6 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 handlers/arch/install_makepkg create mode 100644 packages/aur/arch_makepkg create mode 100644 packages/chordpro/aur create mode 100644 packages/lilypond/arch rename packages/{lilypond => lilypond/aur} (100%) diff --git a/groups/composing b/groups/composing index 2a33970..7f2b4ac 100644 --- a/groups/composing +++ b/groups/composing @@ -1,4 +1,4 @@ timidity++ -chordpro-git +chordpro musescore lilypond diff --git a/handlers/arch/install_makepkg b/handlers/arch/install_makepkg new file mode 100755 index 0000000..5cc7fa1 --- /dev/null +++ b/handlers/arch/install_makepkg @@ -0,0 +1,9 @@ +#!/bin/sh -e +case "$1" in +(*://*) url=$1;; +(*) url=https://aur.archlinux.org/$1.git;; +esac +cd /tmp +git clone "$url" +cd $(basename "${1%.git}") +makepkg -si diff --git a/packages/aur/arch_makepkg b/packages/aur/arch_makepkg new file mode 100644 index 0000000..8435ed0 --- /dev/null +++ b/packages/aur/arch_makepkg @@ -0,0 +1 @@ +yay diff --git a/packages/chordpro/aur b/packages/chordpro/aur new file mode 100644 index 0000000..712a7af --- /dev/null +++ b/packages/chordpro/aur @@ -0,0 +1 @@ +chordpro-git diff --git a/packages/lilypond/arch b/packages/lilypond/arch new file mode 100644 index 0000000..5e3892f --- /dev/null +++ b/packages/lilypond/arch @@ -0,0 +1 @@ +lilypond diff --git a/packages/lilypond b/packages/lilypond/aur similarity index 100% rename from packages/lilypond rename to packages/lilypond/aur