[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Feb 22 17:43:06 UTC 2019


    Date: Friday, February 22, 2019 @ 17:43:06
  Author: felixonmars
Revision: 435253

addpkg: golang-github-kr-pty 1.1.3-1

Added:
  golang-github-kr-pty/
  golang-github-kr-pty/repos/
  golang-github-kr-pty/trunk/
  golang-github-kr-pty/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Added: golang-github-kr-pty/trunk/PKGBUILD
===================================================================
--- golang-github-kr-pty/trunk/PKGBUILD	                        (rev 0)
+++ golang-github-kr-pty/trunk/PKGBUILD	2019-02-22 17:43:06 UTC (rev 435253)
@@ -0,0 +1,19 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-kr-pty
+pkgver=1.1.3
+pkgrel=1
+pkgdesc='PTY interface for Go'
+arch=('any')
+url="https://github.com/kr/pty"
+license=('MIT')
+depends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kr/pty/archive/v$pkgver.tar.gz")
+sha512sums=('24fbf4e59bd73e3f8ecaca6e4ffa74e94702a231c3c315c514fa786ebdd1807a1017576506c36340f2ddda33fc860ac3f7c3d6390756f5c06377bc07b40a7276')
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/kr
+  cp -a "$srcdir"/pty-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/kr/pty
+
+  install -Dm644 pty-$pkgver/License "$pkgdir"/usr/share/licenses/$pkgname/License
+}



More information about the arch-commits mailing list