mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Merge pull request #10 from esphen/master
This commit is contained in:
		
						commit
						84f7c8cb88
					
				
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							| @ -40,6 +40,21 @@ Or if not using yum, you can just directly download the RPM | ||||
| 
 | ||||
|     yaourt -S yadm | ||||
| 
 | ||||
| #### Gentoo Linux | ||||
| 
 | ||||
| **yadm** is not yet available in the main gentoo portage tree, however an ebuild | ||||
| is available for you to use | ||||
| 
 | ||||
|     mkdir -p /usr/local/portage/app-admin/yadm | ||||
|     cd $_ | ||||
|     curl -O 'https://raw.githubusercontent.com/TheLocehiliosan/yadm/master/gentoo/yadm-1.04.ebuild' -O 'https://raw.githubusercontent.com/TheLocehiliosan/yadm/master/gentoo/Manifest' | ||||
|     emerge -atv app-admin/yadm | ||||
| 
 | ||||
| If you have not configured portage to use `/usr/local/portage` as your local | ||||
| repository, you also need to add this to the portage `make.conf` | ||||
| 
 | ||||
|     echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/portage/make.conf | ||||
| 
 | ||||
| #### Other | ||||
| 
 | ||||
| You *can* simply download the **yadm** script and put it into your `$PATH`. Something like this: | ||||
|  | ||||
							
								
								
									
										1
									
								
								gentoo/Manifest
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								gentoo/Manifest
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| DIST yadm-1.04.tar.gz 27391 SHA256 a73aa51245866ce67aeb4322a62995ebbb13f29dc35508f486819dceb534968a SHA512 f3f909118f29382c6cbae565de336c27fd7d159955a231ac22b0d25e25e50c4c3e1bdc68b1629920904ad9353ee8ce8f7e5c5e50d289984447815a685a4132c9 WHIRLPOOL c74c2bfc89abb6955bb4e0d60b1cb0777c9f9ec43bc1919c130cd8470e44c090fba9003e473f4344ed92df23e399ea45ece6dafde80d575a8af491bb4c16b554 | ||||
							
								
								
									
										35
									
								
								gentoo/yadm-1.04.ebuild
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								gentoo/yadm-1.04.ebuild
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,35 @@ | ||||
| # Copyright 1999-2016 Gentoo Foundation | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| # $Id$ | ||||
| 
 | ||||
| EAPI=5 | ||||
| 
 | ||||
| DESCRIPTION="Yet Another Dotfiles Manager" | ||||
| HOMEPAGE="https://github.com/TheLocehiliosan/yadm/" | ||||
| SRC_URI="https://github.com/TheLocehiliosan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||||
| 
 | ||||
| LICENSE="GPLv3" | ||||
| SLOT="0" | ||||
| KEYWORDS="amd64 x86 ~alpha ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc" | ||||
| IUSE="doc" | ||||
| 
 | ||||
| DOCS=( CHANGES CONTRIBUTORS yadm.md README.md ) | ||||
| 
 | ||||
| DEPEND="dev-vcs/git | ||||
| app-shells/bash" | ||||
| RDEPEND="${DEPEND}" | ||||
| 
 | ||||
| src_compile() { | ||||
|   # Bash scripts don't need to compile | ||||
|   true | ||||
| } | ||||
| 
 | ||||
| src_install() { | ||||
|   if use doc; then | ||||
|     dodoc "${DOCS[@]}" | ||||
|   fi | ||||
| 
 | ||||
|   dobin yadm | ||||
|   doman yadm.1 | ||||
| } | ||||
| 
 | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user