Don't include git history in package whoops
This commit is contained in:
		
							
								
								
									
										5
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								PKGBUILD
									
									
									
									
									
								
							@@ -3,19 +3,20 @@
 | 
			
		||||
 | 
			
		||||
pkgname=clemmy
 | 
			
		||||
pkgver=0.2.0
 | 
			
		||||
pkgrel=1
 | 
			
		||||
pkgrel=2
 | 
			
		||||
pkgdesc='A pure bash client for lemmy, with multiaccount support.'
 | 
			
		||||
arch=('any')
 | 
			
		||||
url='http://precious.harpy.faith/Zergling_man/clemmy'
 | 
			
		||||
license=('GPL' 'custom:plusnigger.autism.exposed')
 | 
			
		||||
depends=('curl' 'jq')
 | 
			
		||||
makedepends=('git')
 | 
			
		||||
source=('git+http://precious.harpy.faith/Zergling_man/clemmy.git')
 | 
			
		||||
sha256sums=('SKIP') #Don't know how to use this on a repo.
 | 
			
		||||
 | 
			
		||||
package() {
 | 
			
		||||
	cd ${pkgname}
 | 
			
		||||
	install -d ${pkgdir}/usr/bin ${pkgdir}/opt/clemmy
 | 
			
		||||
	rm README.txt
 | 
			
		||||
	rm -rf README.txt .git
 | 
			
		||||
	cp -r . ${pkgdir}/opt/clemmy
 | 
			
		||||
	ln -s /opt/clemmy/clemmy.sh ${pkgdir}/usr/bin/clemmy
 | 
			
		||||
	chmod +x ${pkgdir}/opt/clemmy/clemmy.sh
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user