summaryrefslogtreecommitdiff
path: root/development/composer
diff options
context:
space:
mode:
authorEugene Wissner <belka@caraus.de>2017-01-24 22:57:01 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:04 +0700
commit85bb4f347d4446ae152575d711b110d4d8e6f3c5 (patch)
treec0d9b50a031245dcd55b42ca8c568b66dca3501f /development/composer
parent8341f6f0e98a0b0111b1e623438771ec33cd5cce (diff)
downloadslackbuilds-85bb4f347d4446ae152575d711b110d4d8e6f3c5.tar.gz
development/composer: Updated for version 1.3.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/composer')
-rw-r--r--development/composer/composer8
-rw-r--r--development/composer/composer.SlackBuild7
-rw-r--r--development/composer/composer.info6
3 files changed, 6 insertions, 15 deletions
diff --git a/development/composer/composer b/development/composer/composer
deleted file mode 100644
index 14e30a698d..0000000000
--- a/development/composer/composer
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if [ -x /usr/bin/hhvm ]
-then
- /usr/bin/hhvm /usr/bin/composer.phar "$@"
-else
- /usr/bin/php /usr/bin/composer.phar "$@"
-fi
diff --git a/development/composer/composer.SlackBuild b/development/composer/composer.SlackBuild
index c76da32063..bad44a5b4f 100644
--- a/development/composer/composer.SlackBuild
+++ b/development/composer/composer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for composer
-# Copyright 2015-2016 Eugene Wissner, Dachau, Germany
+# Copyright 2015-2017 Eugene Wissner, Dachau, Germany
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=composer
-VERSION=${VERSION:-1.2.4}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -40,10 +40,9 @@ set -e
rm -rf $PKG
mkdir -p $PKG/usr/bin $OUTPUT
install -m 0755 $CWD/composer.phar $PKG/usr/bin
+ln -s composer.phar $PKG/usr/bin/composer
chown -R root:root $PKG
-install -m 0755 $CWD/composer $PKG/usr/bin
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/composer/composer.info b/development/composer/composer.info
index 356ba31287..04fde57c1d 100644
--- a/development/composer/composer.info
+++ b/development/composer/composer.info
@@ -1,8 +1,8 @@
PRGNAM="composer"
-VERSION="1.2.4"
+VERSION="1.3.1"
HOMEPAGE="https://getcomposer.org/"
-DOWNLOAD="https://getcomposer.org/download/1.2.4/composer.phar"
-MD5SUM="e696b994e6555be8cfea0ec199a414bf"
+DOWNLOAD="https://getcomposer.org/download/1.3.1/composer.phar"
+MD5SUM="6b1bd542ae9fcf88948c4088cd883e78"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""