mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-05 06:12:22 +08:00
28 lines
674 B
Bash
28 lines
674 B
Bash
# Maintainer: Jguer <joaogg3@gmail.com>
|
|
pkgname=yay
|
|
pkgver=9.2.1
|
|
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=('6f590340975be07627d5a2220feff3e8e23aa86d')
|
|
|
|
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
|
|
}
|