forked from Plemya-x/alr-repo
		
	firefox-bin 139.0.0-3
This commit is contained in:
		| @@ -1,6 +1,6 @@ | |||||||
| name='firefox-bin' | name='firefox-bin' | ||||||
| version='139.0.0' | version='139.0.0' | ||||||
| release='2' | release='3' | ||||||
| desc='Fast, Private & Safe Web Browser.' | desc='Fast, Private & Safe Web Browser.' | ||||||
| desc_ru='Быстрый, конфиденциальный и безопасный веб-браузер.' | desc_ru='Быстрый, конфиденциальный и безопасный веб-браузер.' | ||||||
| homepage='https://www.mozilla.org/firefox/' | homepage='https://www.mozilla.org/firefox/' | ||||||
| @@ -54,6 +54,11 @@ checksums_386=('SKIP') | |||||||
|  |  | ||||||
| options=(!strip) | options=(!strip) | ||||||
|  |  | ||||||
|  | scripts=( | ||||||
|  | 	['postinstall']='postinstall.sh' | ||||||
|  | 	['postremove']='postremove.sh' | ||||||
|  | ) | ||||||
|  |  | ||||||
| package() { | package() { | ||||||
|   cd $srcdir |   cd $srcdir | ||||||
|   # Create directories |   # Create directories | ||||||
| @@ -77,9 +82,6 @@ package() { | |||||||
|           "$pkgdir"/usr/share/icons/hicolor/$i/apps/firefox.png |           "$pkgdir"/usr/share/icons/hicolor/$i/apps/firefox.png | ||||||
|   done |   done | ||||||
|  |  | ||||||
|   # Configure dictionaries and certificates |  | ||||||
|   ln -Ts /usr/share/hunspell "$pkgdir"/opt/firefox/dictionaries |  | ||||||
|   ln -Ts /usr/share/hyphen "$pkgdir"/opt/firefox/hyphenation |  | ||||||
|   ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/firefox/libnssckbi.so |   ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/firefox/libnssckbi.so | ||||||
|  |  | ||||||
|   # Disable update checks |   # Disable update checks | ||||||
| @@ -88,7 +90,7 @@ package() { | |||||||
| } | } | ||||||
|  |  | ||||||
| files() { | files() { | ||||||
|   printf '"%s" ' ./opt/**/* |   printf '"%s" ' ./opt/firefox/**/* | ||||||
|   printf '"%s" ' ./usr/share/icons/hicolor/*/apps/* |   printf '"%s" ' ./usr/share/icons/hicolor/*/apps/* | ||||||
|   echo ./usr/bin/firefox |   echo ./usr/bin/firefox | ||||||
|   echo ./usr/share/applications/firefox.desktop |   echo ./usr/share/applications/firefox.desktop | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								firefox-bin/postinstall.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								firefox-bin/postinstall.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | |||||||
|  |   #!/usr/bin/env bash | ||||||
|  |  | ||||||
|  |   ln -sT /usr/share/hunspell "$pkgdir"/opt/firefox/dictionaries | ||||||
|  |   ln -sT /usr/share/hyphen "$pkgdir"/opt/firefox/hyphenation | ||||||
							
								
								
									
										4
									
								
								firefox-bin/postremove.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								firefox-bin/postremove.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | |||||||
|  |   #!/usr/bin/env bash | ||||||
|  |  | ||||||
|  | rm -rf /opt/firefox/dictionaries | ||||||
|  | rm -rf /opt/firefox/hyphenation | ||||||
		Reference in New Issue
	
	Block a user