diff options
author | Jguer | 2017-07-04 19:27:46 +0100 |
---|---|---|
committer | Jguer | 2017-07-04 19:27:46 +0100 |
commit | 82f72bc069e79a46e49519ce812bd9aef3c675f9 (patch) | |
tree | e0e7bd20db832ff6c8117d96454d9feea2c0098e | |
parent | a03b2a898692315037d3552bb22387debd290948 (diff) | |
download | aur-82f72bc069e79a46e49519ce812bd9aef3c675f9.tar.gz |
Updated to V2
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 15 insertions, 26 deletions
@@ -1,17 +1,15 @@ -# Generated by mksrcinfo v8 -# Mon Oct 31 19:28:15 UTC 2016 pkgbase = yay-bin pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go. Pre-compiled. - pkgver = 1.114 + pkgver = 2.152 pkgrel = 1 url = https://github.com/Jguer/yay - arch = x86_64 - arch = i686 + arch = x86_64 license = GPL depends = sudo provides = yay conflicts = yay - source_x86_64 = https://github.com/Jguer/yay/releases/download/v1.114/yay_1.114_amd64.tar.gz - md5sums_x86_64 = a7e6872a341f9dd52f5116ad19511d00 + source_x86_64 = https://github.com/Jguer/yay/releases/download/v2.152/yay_2.152_x86_64.tar.gz + md5sums_x86_64 = bd70958023e21e828cb7b82e792fca24 pkgname = yay-bin + @@ -1,6 +1,6 @@ # Maintainer: Jguer <joaogg3 at gmail dot com> pkgname=yay-bin -pkgver=1.114 +pkgver=2.152 pkgrel=1 pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go. Pre-compiled." arch=('x86_64') @@ -12,30 +12,21 @@ depends=( provides=('yay') conflicts=('yay') -source_x86_64=("https://github.com/Jguer/yay/releases/download/v${pkgver}/${pkgname/-bin}_${pkgver}_amd64.tar.gz") -md5sums_x86_64=('a7e6872a341f9dd52f5116ad19511d00') - -case "$CARCH" in - arm*) _pkgarch="arm" - ;; - i686) _pkgarch="386" - ;; - x86_64) _pkgarch="amd64" - ;; -esac +source_x86_64=("https://github.com/Jguer/yay/releases/download/v${pkgver}/${pkgname/-bin}_${pkgver}_${CARCH}.tar.gz") +md5sums_x86_64=('bd70958023e21e828cb7b82e792fca24') package() { - install -Dm755 "${srcdir}/${pkgname/-bin}_${pkgver}_${_pkgarch}/${pkgname/-bin}" "${pkgdir}/usr/bin/${pkgname/-bin}" + _output="${srcdir}/${pkgname/-bin}_${pkgver}_${CARCH}" + install -Dm755 "${_output}/${pkgname/-bin}" "${pkgdir}/usr/bin/${pkgname/-bin}" - install -Dm644 "${srcdir}/${pkgname/-bin}_${pkgver}_${_pkgarch}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname/-bin}/LICENSE" + install -Dm644 "${_output}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname/-bin}/LICENSE" - install -Dm644 "${srcdir}/${pkgname/-bin}_${pkgver}_${_pkgarch}/yay.8" "${pkgdir}/usr/share/man/man8/yay.8" + install -Dm644 "${_output}/yay.8" "${pkgdir}/usr/share/man/man8/yay.8" # Shell autocompletion script - install -Dm644 "${srcdir}/${pkgname/-bin}_${pkgver}_${_pkgarch}/bash-completion" "${pkgdir}/usr/share/bash-completion/completions/yay" - - install -Dm644 "${srcdir}/${pkgname/-bin}_${pkgver}_${_pkgarch}/zsh-completion" "${pkgdir}/usr/share/zsh/site-functions/_yay" + install -Dm644 "${_output}/bash-completion" "${pkgdir}/usr/share/bash-completion/completions/yay" - install -Dm644 "${srcdir}/${pkgname/-bin}_${pkgver}_${_pkgarch}/yay.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/yay.fish" + install -Dm644 "${_output}/zsh-completion" "${pkgdir}/usr/share/zsh/site-functions/_yay" + install -Dm644 "${_output}/yay.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/yay.fish" } |