diff --git a/.SRCINFO b/.SRCINFO index d7cfe95..2c58cc1 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = gofumpt-git pkgdesc = A stricter gofmt - pkgver = r111.ab5a819 + pkgver = r134.eb0da8c pkgrel = 1 url = https://github.com/mvdan/gofumpt arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 8597fad..2974b70 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Knut Ahlers pkgname=gofumpt-git -pkgver=r111.ab5a819 +pkgver=r134.eb0da8c pkgrel=1 pkgdesc="A stricter gofmt" arch=('i686' 'x86_64') @@ -14,13 +14,11 @@ sha512sums=('SKIP') build() { cd "${srcdir}/${pkgname}" GO111MODULE=on go build -mod=readonly - cd "${srcdir}/${pkgname}/gofumports" - GO111MODULE=on go build -mod=readonly } package() { 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 }