mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-10-31 22:03:42 +00:00 
			
		
		
		
	* generate filenames without using makepkg * pkgbuild parser impl * completely remove makepkg calls * simplify typed get * try to improve parser * docs and recipes updatte * never raise keyerror instead return empty string * udpate tests * add support of array expansion * docs update * tests update * handle quoted control sequences correctly * expand bash * allow packages without package function * docs update * add moroe tests * small improovements * support escaped arrays and functions
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Maintainer: Jguer <pkgbuilds at jguer.space>
 | |
| pkgname=yay
 | |
| pkgver=12.3.5
 | |
| pkgrel=1
 | |
| pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
 | |
| arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
 | |
| url="https://github.com/Jguer/yay"
 | |
| options=(!lto)
 | |
| license=('GPL-3.0-or-later')
 | |
| depends=(
 | |
|   'pacman>6.1'
 | |
|   'git'
 | |
| )
 | |
| optdepends=(
 | |
|   'sudo: privilege elevation'
 | |
|   'doas: privilege elevation'
 | |
| )
 | |
| makedepends=('go>=1.21')
 | |
| source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
 | |
| sha256sums=('2fb6121a6eb4c5e6afaf22212b2ed15022500a4bc34bb3dc0f9782c1d43c3962')
 | |
| 
 | |
| build() {
 | |
|   export GOPATH="$srcdir"/gopath
 | |
|   export CGO_CPPFLAGS="${CPPFLAGS}"
 | |
|   export CGO_CFLAGS="${CFLAGS}"
 | |
|   export CGO_CXXFLAGS="${CXXFLAGS}"
 | |
|   export CGO_LDFLAGS="${LDFLAGS}"
 | |
|   export CGO_ENABLED=1
 | |
| 
 | |
|   cd "$srcdir/$pkgname-$pkgver"
 | |
|   make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
 | |
| }
 | |
| 
 | |
| package() {
 | |
|   cd "$srcdir/$pkgname-$pkgver"
 | |
|   make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
 | |
| }
 |