added gtk4, helvum
This commit is contained in:
		
							parent
							
								
									7d56fe94e0
								
							
						
					
					
						commit
						1f1e2b0a64
					
				
					 3 changed files with 116 additions and 0 deletions
				
			
		
							
								
								
									
										33
									
								
								snd/helvum/build.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								snd/helvum/build.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | |||
| pkgname=helvum | ||||
| pkgver=0.3.4 | ||||
| 
 | ||||
| _clear_vendor_checksums() { | ||||
| 	sed -i 's/\("files":{\)[^}]*/\1/' vendor/$1/.cargo-checksum.json | ||||
| } | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl -L "https://gitlab.freedesktop.org/pipewire/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.bz2 | ||||
| 	tar -xf $pkgname-$pkgver.tar.bz2 | ||||
| 	cd $pkgname-$pkgver | ||||
| 	mkdir -p .cargo | ||||
| 	cargo vendor > .cargo/config | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cargo build --release --locked --all-features | ||||
| } | ||||
| 
 | ||||
| package() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	install -Dm755 target/release/$pkgname $pkgdir/usr/bin/$pkgname | ||||
| } | ||||
| 
 | ||||
| backup() { | ||||
| 	return | ||||
| } | ||||
| 
 | ||||
| license() { | ||||
| 	cd $pkgname-$pkgver | ||||
| 	cat LICENSE | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue