generated from archlinux/template
Bump to 101. Change to packaging
This commit is contained in:
parent
131ebc271c
commit
7d7488040f
2
.SRCINFO
2
.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 = 1.95
|
pkgver = 1.101
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/Jguer/yay
|
url = https://github.com/Jguer/yay
|
||||||
arch = i686
|
arch = i686
|
||||||
|
9
PKGBUILD
9
PKGBUILD
@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Jguer <joaogg3@gmail.com>
|
# Maintainer: Jguer <joaogg3@gmail.com>
|
||||||
pkgname=yay
|
pkgname=yay
|
||||||
pkgver=1.95
|
pkgver=1.101
|
||||||
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' 'arm')
|
arch=('i686' 'x86_64' 'arm')
|
||||||
@ -57,11 +57,8 @@ build() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
#install executable
|
#install executable
|
||||||
find "$srcdir/.go/bin/" -type f -executable | while read filename; do
|
install -DT "${srcdir}/.go/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||||
install -DT "$filename" "$pkgdir/usr/bin/$(basename $filename)"
|
cd "${srcdir}/.go/src/github.com/jguer/${pkgname}" || exit
|
||||||
done
|
|
||||||
|
|
||||||
cd "$srcdir/.go/src/github.com/jguer/$pkgname"
|
|
||||||
|
|
||||||
# Install GLP v3
|
# Install GLP v3
|
||||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user