39 lines
		
	
	
		
			867 B
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			867 B
		
	
	
	
		
			Plaintext
		
	
	
| ## arg 1:  the new package version
 | |
| #pre_install() {
 | |
| 	# do something here
 | |
| #}
 | |
| 
 | |
| ## arg 1:  the new package version
 | |
| post_install() {
 | |
|    echo "This is now a split Package:"
 | |
|    echo "joplin: CLI and Desktop"
 | |
|    echo "joplin-desktop: for a Desktop version"
 | |
|    echo "You may need to install them explicity on some AUR helpers"
 | |
| }
 | |
| 
 | |
| ## arg 1:  the new package version
 | |
| ## arg 2:  the old package version
 | |
| #pre_upgrade() {
 | |
| 	# do something here
 | |
| #}
 | |
| 
 | |
| ## arg 1:  the new package version
 | |
| ## arg 2:  the old package version
 | |
| post_upgrade() {
 | |
|    echo "This is now a split Package:"
 | |
|    echo "joplin: CLI and Desktop"
 | |
|    echo "joplin-desktop: for a Desktop version"
 | |
|    echo "You may need to install them explicity on some AUR helpers"
 | |
| }
 | |
| 
 | |
| ## arg 1:  the old package version
 | |
| #pre_remove() {
 | |
| 	# do something here
 | |
| #}
 | |
| 
 | |
| ## arg 1:  the old package version
 | |
| #post_remove() {
 | |
| 	# do something here
 | |
| #}
 | |
| 
 |