pkgbuilds/yay/PKGBUILD

30 lines
694 B
Text
Raw Normal View History

2019-09-05 18:16:37 +08:00
# Maintainer: Jguer <joaogg3@gmail.com>
pkgname=yay
2019-09-21 12:55:18 +08:00
pkgver=9.3.1
2019-09-05 18:16:37 +08:00
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=(
2019-09-21 12:55:18 +08:00
'pacman>=5.1.0'
'pacman<=5.1.3'
2019-09-05 18:16:37 +08:00
'sudo'
'git'
)
makedepends=(
'go'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
2019-09-21 12:55:18 +08:00
sha1sums=('ed47859a2c930ba46b563d9d934dc6d2eea5872e')
2019-09-05 18:16:37 +08:00
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
}