[arch-commits] Commit in php-composer/repos/extra-any (4 files)
Pierre Schmitz
pierre at archlinux.org
Thu Sep 10 16:05:06 UTC 2015
Date: Thursday, September 10, 2015 @ 18:05:05
Author: pierre
Revision: 245743
archrelease: copy trunk to extra-any
Added:
php-composer/repos/extra-any/PKGBUILD
(from rev 245742, php-composer/trunk/PKGBUILD)
php-composer/repos/extra-any/php.ini
(from rev 245742, 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-09-10 16:04:55 UTC (rev 245742)
+++ PKGBUILD 2015-09-10 16:05:05 UTC (rev 245743)
@@ -1,60 +0,0 @@
-# $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
-}
Copied: php-composer/repos/extra-any/PKGBUILD (from rev 245742, php-composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-10 16:05:05 UTC (rev 245743)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=php-composer
+pkgver=1.0.0.alpha10.465
+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'
+ 'bc7ca705316637ca93b49860926eed98'
+ '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-09-10 16:04:55 UTC (rev 245742)
+++ php.ini 2015-09-10 16:05:05 UTC (rev 245743)
@@ -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 245742, php-composer/trunk/php.ini)
===================================================================
--- php.ini (rev 0)
+++ php.ini 2015-09-10 16:05:05 UTC (rev 245743)
@@ -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