add Arch packaging
This commit is contained in:
		
							
								
								
									
										15
									
								
								pacman/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								pacman/PKGBUILD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
pkgname=creddy
 | 
			
		||||
pkgver=0.6.5
 | 
			
		||||
pkgrel=1
 | 
			
		||||
pkgdesc="A friendly credential manager"
 | 
			
		||||
arch=('x86_64')
 | 
			
		||||
url="https://git.jfmonty2.com/jfmonty2/creddy"
 | 
			
		||||
depends=('cairo' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'pango' 'webkit2gtk-4.1')
 | 
			
		||||
options=('!strip' '!debug')
 | 
			
		||||
install=${pkgname}.install
 | 
			
		||||
source=("${url}/releases/download/v${pkgver}/creddy_${pkgver}_amd64.deb")
 | 
			
		||||
sha256sums=('6153903ef7d58101afda5f0260e40cae6d28e2572402a34a9b11878e3d403a62')
 | 
			
		||||
 | 
			
		||||
package() {
 | 
			
		||||
  tar -xvf data.tar.gz -C "${pkgdir}"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								pacman/creddy.install
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								pacman/creddy.install
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
post_install() {
 | 
			
		||||
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
 | 
			
		||||
  update-desktop-database -q
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
post_upgrade() {
 | 
			
		||||
  post_install
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
post_remove() {
 | 
			
		||||
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
 | 
			
		||||
  update-desktop-database -q
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user