subrepo: subdir: "git-extras" merged: "2d30cf8" upstream: origin: "https://aur.archlinux.org/git-extras" branch: "master" commit: "2d30cf8" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
		
			
				
	
	
		
			26 lines
		
	
	
		
			1007 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1007 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
 | 
						|
# Contributor: Stefan Tatschner <stefan.tatschner@gmail.com>
 | 
						|
 | 
						|
# All my PKGBUILDs are managed at https://github.com/eli-schwartz/pkgbuilds
 | 
						|
 | 
						|
pkgname=git-extras
 | 
						|
pkgver=6.1.0
 | 
						|
pkgrel=1
 | 
						|
pkgdesc="GIT utilities -- repo summary, commit counting, repl, changelog population and more"
 | 
						|
arch=('any')
 | 
						|
url="https://github.com/tj/${pkgname}"
 | 
						|
license=('MIT')
 | 
						|
depends=('git')
 | 
						|
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
 | 
						|
sha256sums=('7be0b15ee803d76d2c2e8036f5d9db6677f2232bb8d2c4976691ff7ae026a22f')
 | 
						|
b2sums=('3450edecb3116e19ffcf918b118aee04f025c06d812e29e8701f35a3c466b13d2578d41c8e1ee93327743d0019bf98bb3f397189e19435f89e3a259ff1b82747')
 | 
						|
 | 
						|
package() {
 | 
						|
    cd "${srcdir}/${pkgname}-${pkgver}"
 | 
						|
 | 
						|
    # avoid annoying interactive prompts if an alias is in your gitconfig
 | 
						|
    export GIT_CONFIG=/dev/null
 | 
						|
    make DESTDIR="${pkgdir}" PREFIX=/usr SYSCONFDIR=/etc install
 | 
						|
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 | 
						|
}
 |