[arch-commits] Commit in golang-github-kr-pty/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Feb 22 17:43:26 UTC 2019
Date: Friday, February 22, 2019 @ 17:43:25
Author: felixonmars
Revision: 435254
archrelease: copy trunk to community-any
Added:
golang-github-kr-pty/repos/community-any/
golang-github-kr-pty/repos/community-any/PKGBUILD
(from rev 435253, golang-github-kr-pty/trunk/PKGBUILD)
----------+
PKGBUILD | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Copied: golang-github-kr-pty/repos/community-any/PKGBUILD (from rev 435253, golang-github-kr-pty/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-02-22 17:43:25 UTC (rev 435254)
@@ -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