Date: Friday, February 5, 2016 @ 20:50:45 Author: seblu Revision: 160424
upgpkg: go-md2man 1.0.5-1 Modified: go-md2man/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-02-05 18:42:44 UTC (rev 160423) +++ PKGBUILD 2016-02-05 19:50:45 UTC (rev 160424) @@ -2,7 +2,7 @@ # Contributor: Sébastien "Seblu" Luttringer <se...@arhlinux.org> pkgname=go-md2man -pkgver=1.0.2 +pkgver=1.0.5 pkgrel=1 pkgdesc='A markdown to manpage generator' arch=('x86_64' 'i686') @@ -9,14 +9,14 @@ url='https://github.com/cpuguy83/go-md2man' license=('MIT') makedepends=('git' 'go') -source=("$pkgname.tar.gz::https://github.com/cpuguy83/go-md2man/archive/v$pkgver.tar.gz") -sha256sums=('bbb936fbaba460200d0fe97181ba5a64c511d8aa9a647f76587f283a8cc6398f') +source=(git+https://github.com/cpuguy83/go-md2man.git) +md5sums=('SKIP') build() { export GOPATH=$(readlink -f .) local repo=src/github.com/cpuguy83 mkdir -p "$repo" - ln -sf "../../../go-md2man-$pkgver" "$repo/go-md2man" + ln -sf "../../../go-md2man" "$repo/go-md2man" cd "$repo/go-md2man" go get -v ./... "$srcdir/bin/go-md2man" -in=go-md2man.1.md -out=go-md2man.1 @@ -24,7 +24,8 @@ package() { install -Dm755 "$srcdir/bin/go-md2man" "$pkgdir/usr/bin/go-md2man" - install -Dm755 "$srcdir/go-md2man-$pkgver/go-md2man.1" "$pkgdir/usr/share/man/man1/go-md2man.1" + 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" } # vim:set ts=2 sw=2 et: