[arch-commits] Commit in go-md2man/repos (4 files)

Morten Linderud foxboron at archlinux.org
Sat Oct 14 22:01:31 UTC 2017


    Date: Saturday, October 14, 2017 @ 22:01:30
  Author: foxboron
Revision: 262817

archrelease: copy trunk to community-testing-x86_64, community-testing-i686

Added:
  go-md2man/repos/community-testing-i686/
  go-md2man/repos/community-testing-i686/PKGBUILD
    (from rev 262816, go-md2man/trunk/PKGBUILD)
  go-md2man/repos/community-testing-x86_64/
  go-md2man/repos/community-testing-x86_64/PKGBUILD
    (from rev 262816, go-md2man/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   30 ++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   30 ++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: go-md2man/repos/community-testing-i686/PKGBUILD (from rev 262816, go-md2man/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-10-14 22:01:30 UTC (rev 262817)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Morten Linderud <foxboron at arhlinux.org>
+# Contributor: Sébastien "Seblu" Luttringer <seblu at arhlinux.org>
+
+pkgname=go-md2man
+pkgver=1.0.7
+pkgrel=2
+pkgdesc='A markdown to manpage generator'
+arch=('x86_64' 'i686')
+url='https://github.com/cpuguy83/go-md2man'
+license=('MIT')
+makedepends=('go-pie')
+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-$pkgver" "$repo/go-md2man"
+  cd "$repo/go-md2man"
+  go get -v ./...
+  "$srcdir/bin/go-md2man" -in=go-md2man.1.md -out=go-md2man.1
+}
+
+package() {
+  install -Dm755 "$srcdir/bin/go-md2man" "$pkgdir/usr/bin/go-md2man"
+  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"
+}

Copied: go-md2man/repos/community-testing-x86_64/PKGBUILD (from rev 262816, go-md2man/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-10-14 22:01:30 UTC (rev 262817)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Morten Linderud <foxboron at arhlinux.org>
+# Contributor: Sébastien "Seblu" Luttringer <seblu at arhlinux.org>
+
+pkgname=go-md2man
+pkgver=1.0.7
+pkgrel=2
+pkgdesc='A markdown to manpage generator'
+arch=('x86_64' 'i686')
+url='https://github.com/cpuguy83/go-md2man'
+license=('MIT')
+makedepends=('go-pie')
+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-$pkgver" "$repo/go-md2man"
+  cd "$repo/go-md2man"
+  go get -v ./...
+  "$srcdir/bin/go-md2man" -in=go-md2man.1.md -out=go-md2man.1
+}
+
+package() {
+  install -Dm755 "$srcdir/bin/go-md2man" "$pkgdir/usr/bin/go-md2man"
+  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"
+}



More information about the arch-commits mailing list