add package: yay

This commit is contained in:
JerryXiao 2019-09-05 18:16:37 +08:00
parent 697a6b0a75
commit 936087d584
4 changed files with 55 additions and 0 deletions

20
yay/.SRCINFO Normal file
View file

@ -0,0 +1,20 @@
pkgbase = yay
pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go.
pkgver = 9.2.1
pkgrel = 1
url = https://github.com/Jguer/yay
arch = i686
arch = x86_64
arch = armv7h
arch = armv6h
arch = aarch64
license = GPL
makedepends = go
depends = pacman>=5.1
depends = sudo
depends = git
source = yay-9.2.1.tar.gz::https://github.com/Jguer/yay/archive/v9.2.1.tar.gz
sha1sums = 6f590340975be07627d5a2220feff3e8e23aa86d
pkgname = yay

5
yay/.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
/*.tar.xz
/*.tar.gz
/pkg
/src
/yay

28
yay/PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# 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
}

2
yay/autobuild.yaml Normal file
View file

@ -0,0 +1,2 @@
type:
auto