Date: Monday, April 25, 2022 @ 18:53:39 Author: foxboron Revision: 1190045
archrelease: copy trunk to community-x86_64 Added: go-md2man/repos/community-x86_64/PKGBUILD (from rev 1190044, go-md2man/trunk/PKGBUILD) Deleted: go-md2man/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-25 18:53:35 UTC (rev 1190044) +++ PKGBUILD 2022-04-25 18:53:39 UTC (rev 1190045) @@ -1,28 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@arhlinux.org> -# Contributor: Sébastien "Seblu" Luttringer <se...@arhlinux.org> - -pkgname=go-md2man -pkgver=2.0.1 -pkgrel=1 -pkgdesc='A markdown to manpage generator' -arch=('x86_64') -url='https://github.com/cpuguy83/go-md2man' -license=('MIT') -makedepends=('go') -source=($pkgname-$pkgver.tar.gz::"https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz") -sha256sums=('889309ecf43e40d3a76d666b0259dcd71b340ea0fad003784ff3fe0b6c21990e') - -build() { - cd "$pkgname-$pkgver" - export GOFLAGS="-buildmode=pie -mod=vendor -trimpath" - export CGO_LDFLAGS="$LDFLAGS" - go build -o go-md2man . - ./go-md2man -in=go-md2man.1.md -out=go-md2man.1 -} - -package() { - cd "$pkgname-$pkgver" - install -Dm755 go-md2man "$pkgdir/usr/bin/go-md2man" - install -Dm755 go-md2man.1 "$pkgdir/usr/share/man/man1/go-md2man.1" - install -Dm755 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: go-md2man/repos/community-x86_64/PKGBUILD (from rev 1190044, go-md2man/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-25 18:53:39 UTC (rev 1190045) @@ -0,0 +1,28 @@ +# Maintainer: Morten Linderud <foxbo...@arhlinux.org> +# Contributor: Sébastien "Seblu" Luttringer <se...@arhlinux.org> + +pkgname=go-md2man +pkgver=2.0.2 +pkgrel=1 +pkgdesc='A markdown to manpage generator' +arch=('x86_64') +url='https://github.com/cpuguy83/go-md2man' +license=('MIT') +makedepends=('go') +source=($pkgname-$pkgver.tar.gz::"https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz") +sha256sums=('2f52e37101ea2734b02f2b54a53c74305b95b3a9a27792fdac962b5354aa3e4a') + +build() { + cd "$pkgname-$pkgver" + export GOFLAGS="-buildmode=pie -mod=vendor -trimpath" + export CGO_LDFLAGS="$LDFLAGS" + go build -o go-md2man . + ./go-md2man -in=go-md2man.1.md -out=go-md2man.1 +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 go-md2man "$pkgdir/usr/bin/go-md2man" + install -Dm755 go-md2man.1 "$pkgdir/usr/share/man/man1/go-md2man.1" + install -Dm755 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}