mirror of
				https://github.com/TrentSPalmer/gentoo-overlay-trent.git
				synced 2025-10-31 01:41:41 -07:00 
			
		
		
		
	add googler-4.0
This commit is contained in:
		| @@ -1,5 +1,7 @@ | ||||
| DIST googler-3.8.tar.gz 76343 BLAKE2B c2ecdd9d227a1c665b1fdd939fcae3cd58b88f3508b674c53b9eaef673812060c4f6b464c473b5f018ea4d0a05e4560cae7d6f0a09d2c707ee982e37fd77ad01 SHA512 39e286236dca12147b31dc218b2a0b58364946f6b30734f84f8116efaa3a8a7fa61cb4d408080d1962498d24d4907bb225a3a4573f416e2e68c52f0a120b233d | ||||
| DIST googler-3.9.tar.gz 76432 BLAKE2B a4692ee0e5c7d35339e62641af3937fc2178bf25976b6f6dc5420945f3434d342615a930a86bd55d38823c7f2874d7da4659bb42daa8d457a69a454c282c5b3d SHA512 b11bcc87951fef8b1719d5fd8b2406c1a4f03fd2431eaaed1ce1dcc8451162e1b5f14b779858a9fa494e641f5ee92892878ae29fff2b4af0f09270a0076dff11 | ||||
| DIST googler-4.0.tar.gz 77873 BLAKE2B 476430d22cafd321840de9847bd0bf252b4a1a0426a751ea1e563f603c424dcedddfa85cceb319d2c3d69611c76d3ec44f80e575ad1ca5367cf022ba1357bdb7 SHA512 3422e9d7c9321554d755bdf0d6c03cce82489770b48bf9523aba8b79ef3985fda2c388c97e90ce5be312be18c94fed7186d03973e1406f5d16fd9ff2028b0620 | ||||
| EBUILD googler-3.8.ebuild 1436 BLAKE2B 8527d507994398eca1367104de355985851f9752fec0296db5e479a54c4e0e0c2d8d8410b56e3fa24094600e5737867942c5e43cbdd8ae225ad67b7a4fa6319e SHA512 127891d5ea68ae52403c4492d386eae763bbe00c57caf88736a1f32d6a748166801548dffdd5e6ba4d99fcffe111a3594784b3a1c1ab2f1c4618848d0f51a4fc | ||||
| EBUILD googler-3.9.ebuild 1364 BLAKE2B ea103f40238dab2949b7802ebcdfdf7b6535783a5a262732209e33a17034bff5710c82a04d7dc05222da87e905df314b26d08b0c9a210b036099c35f3e7d933b SHA512 0c869490097dd2c646f1d1528b7d46b047ae921ef81fcabfb342f428d6f798ab96897198eb8db9bb4538a8fc52d6776a716f96d07aefdd8dc10991648f22d448 | ||||
| EBUILD googler-4.0.ebuild 1364 BLAKE2B ea103f40238dab2949b7802ebcdfdf7b6535783a5a262732209e33a17034bff5710c82a04d7dc05222da87e905df314b26d08b0c9a210b036099c35f3e7d933b SHA512 0c869490097dd2c646f1d1528b7d46b047ae921ef81fcabfb342f428d6f798ab96897198eb8db9bb4538a8fc52d6776a716f96d07aefdd8dc10991648f22d448 | ||||
| MISC metadata.xml 222 BLAKE2B f0ecd2d956de9c731b8a6b6860f8756cb8dba0591f73463ce32d2747a1aa21296886faea89feee2b208286bbcdfe8e2e0a64263a92e954615fa94e2852d933d5 SHA512 dad470f0096a4fb3af9eeb60dab3216ece032790f6c49a3b014799ee0c02dee96a67317a672344e32f5614c5e05419727cc99113c6ecc37ae594931dd6441eef | ||||
|   | ||||
							
								
								
									
										41
									
								
								www-client/googler/googler-4.0.ebuild
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								www-client/googler/googler-4.0.ebuild
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| # Copyright 1999-2018 Gentoo Foundation | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
|  | ||||
| EAPI=6 | ||||
| inherit readme.gentoo-r1 | ||||
|  | ||||
| DESCRIPTION="Google from the terminal" | ||||
| HOMEPAGE="https://github.com/jarun/googler" | ||||
| SRC_URI="https://github.com/jarun/googler/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||||
|  | ||||
| LICENSE=GPL-3 | ||||
| SLOT="0" | ||||
| KEYWORDS="amd64 arm x86" | ||||
| IUSE="+doc" | ||||
|  | ||||
| DEPEND="" | ||||
| # RDEPEND="${DEPEND}" | ||||
| RDEPEND="dev-lang/python" | ||||
|  | ||||
| DISABLE_AUTOFORMATTING="true" | ||||
| DOC_CONTENTS="     ******************************** | ||||
| Build your browser into your googler alias, i.e. | ||||
| \`alias googler='BROWSER=w3m googler'\` | ||||
| also  \`man googler\` do what you expect | ||||
| man page requires USE="doc" | ||||
| *************************************************" | ||||
|  | ||||
| src_install() { | ||||
| 	install -Dm755 "${S}/googler" "${D}/usr/bin/googler" | ||||
| 	use doc && install -Dm644 "${S}/googler.1" "${D}/usr/share/man/man1/googler.1" | ||||
| 	install -Dm644 "${S}/auto-completion/fish/googler.fish" "${D}/usr/share/fish/vendor_completions.d/googler.fish" | ||||
| 	install -Dm644 "${S}/auto-completion/bash/googler-completion.bash" "${D}/usr/share/bash-completion/completions/googler" | ||||
| 	install -Dm644 "${S}/auto-completion/zsh/_googler" "${D}/usr/share/zsh/site-functions/_googler" | ||||
| 	use doc && readme.gentoo_create_doc | ||||
| 	use doc && dodoc CHANGELOG LICENSE README.md | ||||
| } | ||||
|  | ||||
| pkg_postinst() { | ||||
| 	use doc && readme.gentoo_print_elog | ||||
| 	elog "${DOC_CONTENTS}" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user