mps-derleme-ayrac

This commit is contained in:
milisbir 2017-07-26 02:53:37 +03:00
parent 245334ccaa
commit 22dfede41a
11 changed files with 13 additions and 13 deletions

View File

@ -26,7 +26,7 @@ abort_on_build() {
exit $E_BUILD exit $E_BUILD
} }
get_filename() { get_filename() {
if [[ "$1" =~ "--"(.+) ]] ;then if [[ "$1" =~ "::"(.+) ]] ;then
echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[1]}" echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[1]}"
elif [[ $1 =~ ^(http|https|ftp|file)://.*/(.+) ]]; then elif [[ $1 =~ ^(http|https|ftp|file)://.*/(.+) ]]; then
echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[2]}" echo "$DERLEME_KAYNAKDIZIN/${BASH_REMATCH[2]}"
@ -146,7 +146,7 @@ downloads_file_with_curl() {
} }
download_file() { download_file() {
if [[ "$1" =~ (.+)"--" ]] ;then if [[ "$1" =~ (.+)"::" ]] ;then
adres="${BASH_REMATCH[0]}" adres="${BASH_REMATCH[0]}"
adres=`echo $adres | sed s'/..$//' ` adres=`echo $adres | sed s'/..$//' `
else else

View File

@ -6,7 +6,7 @@
name=argon2 name=argon2
version=20161029 version=20161029
release=1 release=1
source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version.tar.gz--$name-$version.tar.gz) source=(https://github.com/P-H-C/phc-winner-argon2/archive/$version.tar.gz::$name-$version.tar.gz)
build() { build() {
cd phc-winner-argon2-$version cd phc-winner-argon2-$version

View File

@ -6,7 +6,7 @@
name=kashmir name=kashmir
version=20150805 version=20150805
release=1 release=1
source=(https://github.com/Corvusoft/kashmir-dependency/archive/master.tar.gz--$name-$version.tar.gz) source=(https://github.com/Corvusoft/kashmir-dependency/archive/master.tar.gz::$name-$version.tar.gz)
build() { build() {
cd kashmir-dependency-master cd kashmir-dependency-master

View File

@ -6,7 +6,7 @@
name=libringclient name=libringclient
version=1.0.0 version=1.0.0
release=1 release=1
source=(https://github.com/savoirfairelinux/ring-lrc/archive/master.tar.gz--$name-$version-master.tar.gz) source=(https://github.com/savoirfairelinux/ring-lrc/archive/master.tar.gz::$name-$version-master.tar.gz)
build() { build() {
cd "ring-lrc-master" cd "ring-lrc-master"

View File

@ -6,7 +6,7 @@
name=libsrtp name=libsrtp
version=1.5.4 version=1.5.4
release=1 release=1
source=(https://github.com/cisco/libsrtp/archive/v$version.tar.gz--$name-$version.tar.gz) source=(https://github.com/cisco/libsrtp/archive/v$version.tar.gz::$name-$version.tar.gz)
build() { build() {
cd $name-$version cd $name-$version

View File

@ -7,8 +7,8 @@ name=nim
_name=Nim _name=Nim
version=0.17.0 version=0.17.0
release=1 release=1
source=(https://github.com/nim-lang/Nim/archive/v$version.tar.gz--${_name}-$version.tar.gz source=(https://github.com/nim-lang/Nim/archive/v$version.tar.gz::${_name}-$version.tar.gz
https://github.com/nim-lang/csources/archive/v$version.tar.gz--csources-$version.tar.gz) https://github.com/nim-lang/csources/archive/v$version.tar.gz::csources-$version.tar.gz)
build() { build() {
cd ${_name}-${version} cd ${_name}-${version}

View File

@ -6,7 +6,7 @@
name=nimble name=nimble
version=0.8.6 version=0.8.6
release=1 release=1
source=(https://github.com/nim-lang/nimble/archive/v$version.tar.gz--nimble-$version.tar.gz) source=(https://github.com/nim-lang/nimble/archive/v$version.tar.gz::nimble-$version.tar.gz)
build() { build() {
cd ${name}-${version} cd ${name}-${version}

View File

@ -6,7 +6,7 @@
name=opendht name=opendht
version=1.3.5 version=1.3.5
release=1 release=1
source=(https://github.com/savoirfairelinux/opendht/archive/1.3.5.tar.gz--$name-$version.tar.gz) source=(https://github.com/savoirfairelinux/opendht/archive/1.3.5.tar.gz::$name-$version.tar.gz)
build() { build() {
cd $name-$version cd $name-$version

View File

@ -6,7 +6,7 @@
name=restbed name=restbed
version=4.6 version=4.6
release=1 release=1
source=(https://github.com/Corvusoft/restbed/archive/$version.tar.gz--$name-$version.tar.gz source=(https://github.com/Corvusoft/restbed/archive/$version.tar.gz::$name-$version.tar.gz
strand.patch) strand.patch)
build() { build() {

View File

@ -6,7 +6,7 @@
name=ring-daemon name=ring-daemon
version=4.0.0 version=4.0.0
release=1 release=1
source=(https://github.com/savoirfairelinux/$name/archive/$version.tar.gz--$name-$version.tar.gz) source=(https://github.com/savoirfairelinux/$name/archive/$version.tar.gz::$name-$version.tar.gz)
build() { build() {
cd "${name}-$version" cd "${name}-$version"

View File

@ -7,7 +7,7 @@ name=xarchiver
version=0.5.4.11 version=0.5.4.11
release=1 release=1
source=(https://github.com/ib/xarchiver/archive/$version.tar.gz--$name-$version.tar.gz) source=(https://github.com/ib/xarchiver/archive/$version.tar.gz::$name-$version.tar.gz)
build() { build() {
cd $name-$version cd $name-$version