aboutsummaryrefslogblamecommitdiffstats
path: root/community/composer/APKBUILD
blob: e1573390a7bfac09542bfba6975403698c56277b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         
                                           
                
            
        
                                    
                              
             
             
                                                                        
                                                                                      

           
                                                                                     

 

                    
                                     

 
                                                                                                                                                                  
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Dave Hall <skwashd@gmail.com>
pkgname=composer
pkgver=1.8.0
pkgrel=0
pkgdesc="Dependency manager for PHP"
url="https://getcomposer.org/"
arch="noarch"
license="MIT"
depends="php7 php7-phar php7-json php7-openssl php7-mbstring php7-iconv"
source="$pkgname-$pkgver.phar::https://getcomposer.org/download/$pkgver/$pkgname.phar"

package() {
	install -m 0755 -D "$srcdir"/$pkgname-$pkgver.phar "$pkgdir"/usr/bin/$pkgname
}

check() {
	cd "$srcdir"
	php7 $pkgname-$pkgver.phar -V
}

sha512sums="8b0dd173383695c73555259f962c98f088be10ea24a7c534517eb4ee89dfba221962b972ced40e6d88eb0103c53f7d2e7afbc545631c682bc65b0a3c86521b92  composer-1.8.0.phar"