[arch-commits] Commit in php-composer/repos/extra-any (4 files)

Pierre Schmitz pierre at archlinux.org
Tue Aug 25 14:28:33 UTC 2015


    Date: Tuesday, August 25, 2015 @ 16:28:33
  Author: pierre
Revision: 244857

archrelease: copy trunk to extra-any

Added:
  php-composer/repos/extra-any/PKGBUILD
    (from rev 244856, php-composer/trunk/PKGBUILD)
  php-composer/repos/extra-any/php.ini
    (from rev 244856, php-composer/trunk/php.ini)
Deleted:
  php-composer/repos/extra-any/PKGBUILD
  php-composer/repos/extra-any/php.ini

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 php.ini  |   24 ++++++------
 2 files changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-25 14:28:22 UTC (rev 244856)
+++ PKGBUILD	2015-08-25 14:28:33 UTC (rev 244857)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=php-composer
-pkgver=1.0.0.alpha10.411
-pkgrel=1
-pkgdesc="Dependency Manager for PHP"
-arch=('any')
-license=('MIT')
-url='http://getcomposer.org/'
-depends=('php' 'php-intl')
-makedepends=('git')
-checkdepends=('mercurial')
-source=("${pkgname}::git+https://github.com/composer/composer.git"
-        "composer-${pkgver}.phar::https://getcomposer.org/composer.phar"
-        'php.ini')
-backup=('usr/share/php-composer/php.ini')
-md5sums=('SKIP'
-         '50da028c4282995d2b9b1ba68fb9c07b'
-         'b31326c352763328dca0a567a67609ab')
-
-pkgver() {
-	cd ${srcdir}/${pkgname}
-
-	local _tag=$(git tag -l --sort -version:refname | head -1)
-	echo "${_tag}.$(git rev-list ${_tag}.. --count)" | sed 's/-/./g'
-}
-
-prepare() {
-	cd ${srcdir}/${pkgname}
-
-	sed "s~^#!/usr/bin/env php~#!/usr/bin/php -nc/usr/share/${pkgname}/php.ini~g" -i src/Composer/Compiler.php
-	sed "s~php bin/composer~php -nc/usr/share/${pkgname}/php.ini bin/composer~g" -i bin/compile
-	/usr/bin/php -nc ${srcdir}/php.ini ${srcdir}/composer-${pkgver}.phar -n install --no-dev
-}
-
-build() {
-	cd ${srcdir}/${pkgname}
-
-	/usr/bin/php -nc ${srcdir}/php.ini bin/compile
-}
-
-check() {
-	cd ${srcdir}/${pkgname}
-
-	git config --global user.email "${USER}@${HOST}"
-	git config --global user.name "${USER}"
-
-	# install the dev dependencies to run the unit tests
-	/usr/bin/php -nc ${srcdir}/php.ini bin/composer install
-	/usr/bin/php -nc ${srcdir}/php.ini vendor/bin/phpunit
-}
-
-package() {
-	cd ${srcdir}/${pkgname}
-
-	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-	install -Dm644 ${srcdir}/php.ini ${pkgdir}/usr/share/php-composer/php.ini
-	install -Dm755 composer.phar ${pkgdir}/usr/bin/composer
-}

Copied: php-composer/repos/extra-any/PKGBUILD (from rev 244856, php-composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-08-25 14:28:33 UTC (rev 244857)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-composer
+pkgver=1.0.0.alpha10.460
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='http://getcomposer.org/'
+depends=('php' 'php-intl')
+makedepends=('git')
+checkdepends=('mercurial')
+source=("${pkgname}::git+https://github.com/composer/composer.git"
+        "composer-${pkgver}.phar::https://getcomposer.org/composer.phar"
+        'php.ini')
+backup=('usr/share/php-composer/php.ini')
+md5sums=('SKIP'
+         '4984cb6ddc0a3fa25117bfe7199a9986'
+         'b31326c352763328dca0a567a67609ab')
+
+pkgver() {
+	cd ${srcdir}/${pkgname}
+
+	local _tag=$(git tag -l --sort -version:refname | head -1)
+	echo "${_tag}.$(git rev-list ${_tag}.. --count)" | sed 's/-/./g'
+}
+
+prepare() {
+	cd ${srcdir}/${pkgname}
+
+	sed "s~^#!/usr/bin/env php~#!/usr/bin/php -nc/usr/share/${pkgname}/php.ini~g" -i src/Composer/Compiler.php
+	sed "s~php bin/composer~php -nc/usr/share/${pkgname}/php.ini bin/composer~g" -i bin/compile
+	/usr/bin/php -nc ${srcdir}/php.ini ${srcdir}/composer-${pkgver}.phar -n install --no-dev
+}
+
+build() {
+	cd ${srcdir}/${pkgname}
+
+	/usr/bin/php -nc ${srcdir}/php.ini bin/compile
+}
+
+check() {
+	cd ${srcdir}/${pkgname}
+
+	git config --global user.email "${USER}@${HOST}"
+	git config --global user.name "${USER}"
+
+	# install the dev dependencies to run the unit tests
+	/usr/bin/php -nc ${srcdir}/php.ini bin/composer install
+	/usr/bin/php -nc ${srcdir}/php.ini vendor/bin/phpunit
+}
+
+package() {
+	cd ${srcdir}/${pkgname}
+
+	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+	install -Dm644 ${srcdir}/php.ini ${pkgdir}/usr/share/php-composer/php.ini
+	install -Dm755 composer.phar ${pkgdir}/usr/bin/composer
+}

Deleted: php.ini
===================================================================
--- php.ini	2015-08-25 14:28:22 UTC (rev 244856)
+++ php.ini	2015-08-25 14:28:33 UTC (rev 244857)
@@ -1,12 +0,0 @@
-[PHP]
-memory_limit=-1
-extension=openssl.so
-extension=phar.so
-extension=zip.so
-extension=bz2.so
-extension=curl.so
-extension=intl.so
-[Date]
-date.timezone=UTC
-[Phar]
-phar.readonly=Off

Copied: php-composer/repos/extra-any/php.ini (from rev 244856, php-composer/trunk/php.ini)
===================================================================
--- php.ini	                        (rev 0)
+++ php.ini	2015-08-25 14:28:33 UTC (rev 244857)
@@ -0,0 +1,12 @@
+[PHP]
+memory_limit=-1
+extension=openssl.so
+extension=phar.so
+extension=zip.so
+extension=bz2.so
+extension=curl.so
+extension=intl.so
+[Date]
+date.timezone=UTC
+[Phar]
+phar.readonly=Off



More information about the arch-commits mailing list