instalee/handlers/arch/install_makepkg
2022-07-05 11:26:24 +02:00

9 lines
155 B
Bash
Executable file

#!/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