[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Tue Mar 10 16:39:11 UTC 2020
Date: Tuesday, March 10, 2020 @ 16:39:06
Author: pierre
Revision: 377324
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 377323, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 103 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 50 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-10 16:38:42 UTC (rev 377323)
+++ PKGBUILD 2020-03-10 16:39:06 UTC (rev 377324)
@@ -1,53 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=1.9.3
-pkgrel=1
-pkgdesc="Dependency Manager for PHP"
-arch=('any')
-license=('MIT')
-url='https://getcomposer.org/'
-depends=('php')
-makedepends=('git' 'unzip')
-checkdepends=('mercurial')
-replaces=('php-composer')
-conflicts=('php-composer')
-provides=('php-composer')
-source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
- "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
-sha256sums=('SKIP'
- '551655c2fc81f4106508f42bbc4b24eabd34b022b13bc1e7d9642bf483d0a7d4')
-
-prepare() {
- cd "${srcdir}/${pkgname}"
-
- php "${srcdir}/${pkgname}-${pkgver}.phar" -n install --no-dev --prefer-dist
-}
-
-build() {
- cd "${srcdir}/${pkgname}"
-
- php -d phar.readonly=Off bin/compile
-}
-
-check() {
- cd "${srcdir}/${pkgname}"
-
- echo "Skipping tests due to incompability with PHP 7.4" 1>&2
- return
-
- git config --global user.email "${USER}@${HOST}"
- git config --global user.name "${USER}"
-
- # Install the dev dependencies to run the unit tests
- bin/composer -n install --prefer-dist
-
- vendor/bin/phpunit
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm755 composer.phar "${pkgdir}/usr/bin/composer"
-}
Copied: composer/repos/extra-any/PKGBUILD (from rev 377323, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-10 16:39:06 UTC (rev 377324)
@@ -0,0 +1,50 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='https://getcomposer.org/'
+depends=('php')
+makedepends=('git' 'unzip')
+checkdepends=('mercurial')
+replaces=('php-composer')
+conflicts=('php-composer')
+provides=('php-composer')
+source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
+ "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
+sha256sums=('SKIP'
+ '8ced713bde2d89468c3385588daf27dc6fc7bc7619f95239068608d303700b09')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+
+ php "${srcdir}/${pkgname}-${pkgver}.phar" -n install --no-dev --prefer-dist
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ php -d phar.readonly=Off 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
+ bin/composer -n install --prefer-dist
+
+ vendor/bin/simple-phpunit
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm755 composer.phar "${pkgdir}/usr/bin/composer"
+}
More information about the arch-commits
mailing list