[arch-commits] Commit in composer/repos/extra-any (PKGBUILD PKGBUILD)
Pierre Schmitz
pierre at gemini.archlinux.org
Tue Nov 2 16:13:03 UTC 2021
Date: Tuesday, November 2, 2021 @ 16:13:03
Author: pierre
Revision: 426983
archrelease: copy trunk to extra-any
Added:
composer/repos/extra-any/PKGBUILD
(from rev 426982, composer/trunk/PKGBUILD)
Deleted:
composer/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-02 16:12:51 UTC (rev 426982)
+++ PKGBUILD 2021-11-02 16:13:03 UTC (rev 426983)
@@ -1,51 +0,0 @@
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=composer
-pkgver=2.1.10
-pkgrel=1
-pkgdesc="Dependency Manager for PHP"
-arch=('any')
-license=('MIT')
-url='https://getcomposer.org/'
-depends=('php' 'unzip')
-makedepends=('git')
-source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
- "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
-sha256sums=('SKIP'
- 'cb8b04cc6a6fb167403f7495e8539650eb555657aa48873f115383bcd8f0b18d')
-
-prepare() {
- cd "${srcdir}/${pkgname}"
-
- php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction --no-dev --no-progress --prefer-dist
-}
-
-build() {
- cd "${srcdir}/${pkgname}"
-
- php -d phar.readonly=Off bin/compile
-}
-
-check() {
- cd "${srcdir}"
-
- mkdir integration-test
- cd integration-test
-
- php "${srcdir}/${pkgname}/composer.phar" init \
- --no-interaction \
- --type=project \
- --name='archlinux/test' \
- --description='Composer Test Project' \
- --license='GPL-3.0-or-later' \
- --require='symfony/console:*'
- php "${srcdir}/${pkgname}/composer.phar" update --no-interaction --no-progress --prefer-dist
- php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction
-}
-
-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 426982, composer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-02 16:13:03 UTC (rev 426983)
@@ -0,0 +1,51 @@
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=composer
+pkgver=2.1.11
+pkgrel=1
+pkgdesc="Dependency Manager for PHP"
+arch=('any')
+license=('MIT')
+url='https://getcomposer.org/'
+depends=('php' 'unzip')
+makedepends=('git')
+source=("${pkgname}::git+https://github.com/composer/composer.git#tag=${pkgver}"
+ "${pkgname}-${pkgver}.phar::https://getcomposer.org/download/${pkgver}/composer.phar")
+sha256sums=('SKIP'
+ 'fdb587131f8a11fcd475c9949ca340cc58a4b50cce6833caa8118b759a4ad1a3')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+
+ php "${srcdir}/${pkgname}-${pkgver}.phar" install --no-interaction --no-dev --no-progress --prefer-dist
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ php -d phar.readonly=Off bin/compile
+}
+
+check() {
+ cd "${srcdir}"
+
+ mkdir integration-test
+ cd integration-test
+
+ php "${srcdir}/${pkgname}/composer.phar" init \
+ --no-interaction \
+ --type=project \
+ --name='archlinux/test' \
+ --description='Composer Test Project' \
+ --license='GPL-3.0-or-later' \
+ --require='symfony/console:*'
+ php "${srcdir}/${pkgname}/composer.phar" update --no-interaction --no-progress --prefer-dist
+ php "${srcdir}/${pkgname}/composer.phar" validate --no-interaction
+}
+
+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