mirror of
				https://gitlab.archlinux.org/archlinux/devtools.git
				synced 2025-10-30 23:34:43 +01:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			fe42a31a70
			...
			wip-testin
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 88b595433a | 
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| @@ -184,6 +184,13 @@ coverage: binprogs library conf completion man | ||||
| 	jq -r '. | ["Percent covered", .percent_covered], ["Covered lines", .covered_lines], ["Total lines", .total_lines], ["Percent low", .percent_low], ["Percent high", .percent_high] | @tsv' \ | ||||
| 		$(COVERAGE_DIR)/bats.*/coverage.json | ||||
|  | ||||
| testinstall: | ||||
| 	tar --transform 's,^,devtools/,' -cz -f test/devtools.tar.gz --exclude='test' --exclude='./build' . | ||||
| 	mv test/devtools.tar.gz devtools.tar.gz | ||||
| 	pkgctl build --repo extra-testing | ||||
| 	rm devtools.tar.gz | ||||
| 	sudo pacman -U $$(makepkg --packagelist) | ||||
|  | ||||
| check: $(BINPROGS_SRC) $(LIBRARY_SRC) contrib/completion/bash/devtools.in config/makepkg/x86_64.conf contrib/makepkg/PKGBUILD.proto | ||||
| 	shellcheck $^ | ||||
|  | ||||
|   | ||||
							
								
								
									
										64
									
								
								PKGBUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								PKGBUILD
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,64 @@ | ||||
| # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> | ||||
| # Maintainer: Christian Heusel <gromit@archlinux.org> | ||||
| # Contributor: Pierre Schmitz <pierre@archlinux.de> | ||||
|  | ||||
| pkgname=devtools-devel | ||||
| _pkgname=devtools | ||||
| epoch=1 | ||||
| pkgver=1.0.4.r10.g4a78f0e | ||||
| pkgrel=1 | ||||
| pkgdesc='Tools for Arch Linux package maintainers (devel version)' | ||||
| arch=('any') | ||||
| license=('GPL') | ||||
| url='https://gitlab.archlinux.org/archlinux/devtools' | ||||
| depends=( | ||||
|   arch-install-scripts | ||||
|   awk | ||||
|   bash | ||||
|   binutils | ||||
|   coreutils | ||||
|   diffutils | ||||
|   fakeroot | ||||
|   findutils | ||||
|   grep | ||||
|   jq | ||||
|   openssh | ||||
|   parallel | ||||
|   rsync | ||||
|   sed | ||||
|   util-linux | ||||
|  | ||||
|   breezy | ||||
|   git | ||||
|   mercurial | ||||
|   subversion | ||||
| ) | ||||
| makedepends=( | ||||
|   asciidoctor | ||||
|   shellcheck | ||||
| ) | ||||
| optdepends=('btrfs-progs: btrfs support') | ||||
|  | ||||
| conflicts=(devtools) | ||||
| provides=(devtools) | ||||
| source=(test/devtools.tar.gz) | ||||
|  | ||||
| sha256sums=('SKIP') | ||||
| b2sums=('SKIP') | ||||
|  | ||||
| pkgver() { | ||||
|   cd ${_pkgname} | ||||
|   git describe --long --abbrev=7 | sed 's/v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||||
| } | ||||
|  | ||||
| build() { | ||||
|   cd ${_pkgname} | ||||
|   make BUILDTOOLVER="${epoch}:${pkgver}-${pkgrel}-${arch}" PREFIX=/usr | ||||
| } | ||||
|  | ||||
| package() { | ||||
|   cd ${_pkgname} | ||||
|   make PREFIX=/usr DESTDIR="${pkgdir}" install | ||||
| } | ||||
|  | ||||
| # vim: ts=2 sw=2 et: | ||||
		Reference in New Issue
	
	Block a user