mirror of
https://github.com/luzifer-aur/gofumpt-git.git
synced 2024-11-14 13:52:43 +00:00
Remove gofumports as it was deleted after v0.1.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
be2ae5e418
commit
02e3878e0c
2 changed files with 3 additions and 5 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = gofumpt-git
|
pkgbase = gofumpt-git
|
||||||
pkgdesc = A stricter gofmt
|
pkgdesc = A stricter gofmt
|
||||||
pkgver = r111.ab5a819
|
pkgver = r134.eb0da8c
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/mvdan/gofumpt
|
url = https://github.com/mvdan/gofumpt
|
||||||
arch = i686
|
arch = i686
|
||||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Knut Ahlers <knut at ahlers dot me>
|
# Maintainer: Knut Ahlers <knut at ahlers dot me>
|
||||||
|
|
||||||
pkgname=gofumpt-git
|
pkgname=gofumpt-git
|
||||||
pkgver=r111.ab5a819
|
pkgver=r134.eb0da8c
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A stricter gofmt"
|
pkgdesc="A stricter gofmt"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -14,13 +14,11 @@ sha512sums=('SKIP')
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
GO111MODULE=on go build -mod=readonly
|
GO111MODULE=on go build -mod=readonly
|
||||||
cd "${srcdir}/${pkgname}/gofumports"
|
|
||||||
GO111MODULE=on go build -mod=readonly
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname}
|
cd ${pkgname}
|
||||||
install -Dm755 -t "${pkgdir}/usr/bin" gofumpt gofumports/gofumports
|
install -Dm755 -t "${pkgdir}/usr/bin" gofumpt
|
||||||
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE LICENSE.google
|
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE LICENSE.google
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue