From 936087d5840e9f7105efc49beb185045f73b213a Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 5 Sep 2019 18:16:37 +0800 Subject: [PATCH] add package: yay --- yay/.SRCINFO | 20 ++++++++++++++++++++ yay/.gitignore | 5 +++++ yay/PKGBUILD | 28 ++++++++++++++++++++++++++++ yay/autobuild.yaml | 2 ++ 4 files changed, 55 insertions(+) create mode 100644 yay/.SRCINFO create mode 100644 yay/.gitignore create mode 100644 yay/PKGBUILD create mode 100644 yay/autobuild.yaml diff --git a/yay/.SRCINFO b/yay/.SRCINFO new file mode 100644 index 0000000..5d01860 --- /dev/null +++ b/yay/.SRCINFO @@ -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 + diff --git a/yay/.gitignore b/yay/.gitignore new file mode 100644 index 0000000..475547a --- /dev/null +++ b/yay/.gitignore @@ -0,0 +1,5 @@ +/*.tar.xz +/*.tar.gz +/pkg +/src +/yay diff --git a/yay/PKGBUILD b/yay/PKGBUILD new file mode 100644 index 0000000..7a21482 --- /dev/null +++ b/yay/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jguer +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 +} diff --git a/yay/autobuild.yaml b/yay/autobuild.yaml new file mode 100644 index 0000000..ad25ff3 --- /dev/null +++ b/yay/autobuild.yaml @@ -0,0 +1,2 @@ +type: + auto