Date: Friday, September 8, 2017 @ 23:59:35 Author: arojas Revision: 256458
Update to 1.0.7 Modified: go-md2man/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-08 23:47:22 UTC (rev 256457) +++ PKGBUILD 2017-09-08 23:59:35 UTC (rev 256458) @@ -2,21 +2,21 @@ # Contributor: Sébastien "Seblu" Luttringer <[email protected]> pkgname=go-md2man -pkgver=1.0.6 +pkgver=1.0.7 pkgrel=1 pkgdesc='A markdown to manpage generator' arch=('x86_64' 'i686') url='https://github.com/cpuguy83/go-md2man' license=('MIT') -makedepends=('git' 'go') -source=(git+https://github.com/cpuguy83/go-md2man.git) -md5sums=('SKIP') +makedepends=('go') +source=($pkgname-$pkgver.tar.gz::"https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz") +md5sums=('2282a7a24635c63ca7bb08b5e07282fc') build() { export GOPATH=$(readlink -f .) local repo=src/github.com/cpuguy83 mkdir -p "$repo" - ln -sf "../../../go-md2man" "$repo/go-md2man" + ln -sf "../../../go-md2man-$pkgver" "$repo/go-md2man" cd "$repo/go-md2man" go get -v ./... "$srcdir/bin/go-md2man" -in=go-md2man.1.md -out=go-md2man.1 @@ -24,8 +24,6 @@ package() { install -Dm755 "$srcdir/bin/go-md2man" "$pkgdir/usr/bin/go-md2man" - install -Dm755 "$srcdir/go-md2man/go-md2man.1" "$pkgdir/usr/share/man/man1/go-md2man.1" - install -Dm755 "$srcdir/go-md2man/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm755 "$srcdir/$pkgname-$pkgver/go-md2man.1" "$pkgdir/usr/share/man/man1/go-md2man.1" + install -Dm755 "$srcdir/$pkgname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } - -# vim:set ts=2 sw=2 et:
