generated from archlinux/template
V2.219
This commit is contained in:
parent
af3b264306
commit
c36666539b
6
.SRCINFO
6
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = yay
|
pkgbase = yay
|
||||||
pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go.
|
pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go.
|
||||||
pkgver = 2.201
|
pkgver = 2.219
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/Jguer/yay
|
url = https://github.com/Jguer/yay
|
||||||
arch = i686
|
arch = i686
|
||||||
@ -14,8 +14,8 @@ pkgbase = yay
|
|||||||
conflicts = yay-bin
|
conflicts = yay-bin
|
||||||
options = !strip
|
options = !strip
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
source = https://github.com/Jguer/yay/archive/v2.201.tar.gz
|
source = https://github.com/Jguer/yay/archive/v2.219.tar.gz
|
||||||
sha1sums = 33fe89ad86aa1b024077fc059a6e363bcbc49d88
|
sha1sums = 674392963a80093d04c7a8ed0aea0adc541dc003
|
||||||
|
|
||||||
pkgname = yay
|
pkgname = yay
|
||||||
|
|
||||||
|
25
PKGBUILD
25
PKGBUILD
@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Jguer <joaogg3@gmail.com>
|
# Maintainer: Jguer <joaogg3@gmail.com>
|
||||||
pkgname=yay
|
pkgname=yay
|
||||||
pkgver=2.201
|
pkgver=2.219
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
|
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
|
||||||
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
||||||
@ -11,28 +11,33 @@ depends=(
|
|||||||
'sudo'
|
'sudo'
|
||||||
)
|
)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
'git'
|
'git'
|
||||||
'go'
|
'go'
|
||||||
)
|
)
|
||||||
conflicts=('yay-bin')
|
conflicts=('yay-bin')
|
||||||
source=("https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
|
source=("https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
|
||||||
sha1sums=('33fe89ad86aa1b024077fc059a6e363bcbc49d88')
|
sha1sums=('674392963a80093d04c7a8ed0aea0adc541dc003')
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
export GOPATH="${srcdir}/.go"
|
export GOPATH="${srcdir}/.go"
|
||||||
export GOBIN="$GOPATH/bin"
|
export GOBIN="$GOPATH/bin"
|
||||||
go get github.com/jguer/go-alpm github.com/mikkeloscar/aur github.com/mikkeloscar/gopkgbuild
|
mkdir -p "$GOPATH"
|
||||||
ln -sf "$srcdir/$pkgname-$pkgver" "$GOPATH/src/github.com/jguer/yay"
|
rm -rf "$GOPATH/src"
|
||||||
|
ln -sf "$srcdir/$pkgname-$pkgver/vendor" "$GOPATH/src"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
go build -v -o ${pkgname} -ldflags "-s -w -X main.version=${pkgver}"
|
git submodule update --init
|
||||||
|
go build -v -o ${pkgname} -ldflags "-s -w -X main.version=${pkgver}"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
_output="${srcdir}/$pkgname-$pkgver"
|
_output="${srcdir}/$pkgname-$pkgver"
|
||||||
install -Dm755 "${_output}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
install -Dm755 "${_output}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||||
|
|
||||||
# Install GLP v3
|
# Install GLP v3
|
||||||
install -Dm644 "${_output}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname/-bin}/LICENSE"
|
# install -Dm644 "${_output}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname/-bin/}/LICENSE"
|
||||||
|
|
||||||
# Install manpage
|
# Install manpage
|
||||||
install -Dm644 "${_output}/yay.8" "${pkgdir}/usr/share/man/man8/yay.8"
|
install -Dm644 "${_output}/yay.8" "${pkgdir}/usr/share/man/man8/yay.8"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user