# Maintainer: Jguer pkgname=yay pkgver=8.1139 pkgrel=1 pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go." arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64') url="https://github.com/Jguer/yay" license=('GPL') depends=( 'pacman>=5.1' 'sudo' 'git' ) makedepends=( 'go' ) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz") sha1sums=('3a7a8a5708e16b0c0ccb24161ab8ca29fe5ac0fc') build() { cd "$srcdir/$pkgname-$pkgver" make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX=/usr } package() { cd "$srcdir/$pkgname-$pkgver" make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX=/usr install }