mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 16:40:07 -07:00
kiss: remove unused and hacky git source support. Will be re-added.
This commit is contained in:
parent
2d68981ca3
commit
4415d53c58
13
kiss
13
kiss
@ -121,11 +121,6 @@ pkg_sources() {
|
|||||||
|
|
||||||
while read -r src _; do
|
while read -r src _; do
|
||||||
case $src in
|
case $src in
|
||||||
# Git repository.
|
|
||||||
git:*)
|
|
||||||
git clone "${src##git:}" "$mak_dir"
|
|
||||||
;;
|
|
||||||
|
|
||||||
# Remote source.
|
# Remote source.
|
||||||
*://*)
|
*://*)
|
||||||
[ -f "${src##*/}" ] && {
|
[ -f "${src##*/}" ] && {
|
||||||
@ -165,10 +160,6 @@ pkg_extract() {
|
|||||||
mkdir -p "./$dest"
|
mkdir -p "./$dest"
|
||||||
|
|
||||||
case $src in
|
case $src in
|
||||||
# Do nothing as git repository was downloaded to the build
|
|
||||||
# directory directly.
|
|
||||||
git:*) ;;
|
|
||||||
|
|
||||||
# Only 'tar' archives are currently supported for extraction.
|
# Only 'tar' archives are currently supported for extraction.
|
||||||
# Any other file-types are simply copied to '$mak_dir' which
|
# Any other file-types are simply copied to '$mak_dir' which
|
||||||
# allows you to extract them manually.
|
# allows you to extract them manually.
|
||||||
@ -553,10 +544,6 @@ pkg_checksums() {
|
|||||||
|
|
||||||
while read -r src _; do
|
while read -r src _; do
|
||||||
case $src in
|
case $src in
|
||||||
# Git repository.
|
|
||||||
# Skip checksums on git repositories.
|
|
||||||
git:*) ;;
|
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# File is local to the package and is stored in the
|
# File is local to the package and is stored in the
|
||||||
# repository.
|
# repository.
|
||||||
|
Loading…
Reference in New Issue
Block a user