mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			858 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			858 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Jonas Marklen <txc@txc.se>
 | |
| # Contributor: H <agathos5@gmail.com>
 | |
| # Maintainer:
 | |
| pkgname=megatools
 | |
| pkgver=1.11.0.20220519
 | |
| pkgrel=0
 | |
| pkgdesc="collection of programs for accessing Mega.nz service"
 | |
| url="https://megatools.megous.com"
 | |
| arch="all"
 | |
| license="GPL-2.0-only"
 | |
| makedepends="
 | |
| 	asciidoc
 | |
| 	curl-dev
 | |
| 	docbook2x
 | |
| 	glib-dev
 | |
| 	gmp-dev
 | |
| 	meson
 | |
| 	openssl-dev
 | |
| 	"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://megatools.megous.com/builds/megatools-$pkgver.tar.gz"
 | |
| 
 | |
| build() {
 | |
| 	abuild-meson \
 | |
| 		-Db_lto=true \
 | |
| 		. output
 | |
| 	meson compile -C output
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	meson test --no-rebuild --print-errorlogs -C output
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	DESTDIR="$pkgdir" meson install --no-rebuild -C output
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 5c379a5a8da150d6d95a84f6bcf0c9be5b725c2c0e799e8d1e3358ac6081579eacc853f6b3d369c06006d3bdb3917dc20cf39ca5c69f153dc38de9daab74cea1  megatools-1.11.0.20220519.tar.gz
 | |
| "
 |