diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-27 01:30:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-27 01:30:53 +0300 |
commit | b823c0636d902c71e71515fcc160443741d92bcc (patch) | |
tree | b16e352f41e3ff917e506297d3c3c23624ad488a /packages/physfs.sh | |
parent | bcc8cdc27946b0c4833ab70312d58a76f042c73d (diff) | |
download | spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.gz spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.bz2 spm-b823c0636d902c71e71515fcc160443741d92bcc.tar.xz spm-b823c0636d902c71e71515fcc160443741d92bcc.zip |
Add package varible SRCTYPE. It set src storage type. For now git or hg.
By default it set to git.
Diffstat (limited to 'packages/physfs.sh')
-rwxr-xr-x | packages/physfs.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/physfs.sh b/packages/physfs.sh index d32d303..9d73b20 100755 --- a/packages/physfs.sh +++ b/packages/physfs.sh @@ -1,7 +1,9 @@ #!/bin/bash +SRCTYPE=hg + function package_build { - run_hg_switch_branch stable-2.0 + run_switch_branch stable-2.0 run_cmake run_make @@ -9,7 +11,7 @@ function package_build { } function package_get_source { - run_hg_clone https://hg.icculus.org/icculus/physfs/ + run_clone https://hg.icculus.org/icculus/physfs/ } function package_use { |