[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sat Feb 16 15:44:48 UTC 2019


    Date: Saturday, February 16, 2019 @ 15:44:48
  Author: felixonmars
Revision: 433506

addpkg: golang-github-burntsushi-xgb 0.0.20160523-1

Added:
  golang-github-burntsushi-xgb/
  golang-github-burntsushi-xgb/repos/
  golang-github-burntsushi-xgb/trunk/
  golang-github-burntsushi-xgb/trunk/PKGBUILD

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

Added: golang-github-burntsushi-xgb/trunk/PKGBUILD
===================================================================
--- golang-github-burntsushi-xgb/trunk/PKGBUILD	                        (rev 0)
+++ golang-github-burntsushi-xgb/trunk/PKGBUILD	2019-02-16 15:44:48 UTC (rev 433506)
@@ -0,0 +1,21 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-burntsushi-xgb
+pkgver=0.0.20160523
+_commit=27f122750802c950b2c869a5b63dafcf590ced95
+pkgrel=1
+pkgdesc='The X Go Binding is a low-level API to communicate with the X server'
+arch=('any')
+url="https://github.com/BurntSushi/xgb"
+license=('BSD' 'custom:WTFPL')
+depends=('go-pie')
+source=("$pkgname-$_commit.tar.gz::https://github.com/BurntSushi/xgb/archive/$_commit.tar.gz")
+sha512sums=('889ff39e4e5614faf7ef49a9fbae3efdd0dd9232b8652c34f621208b4d136ff76864ceb61e2b6cb3796fbf51309b0c74e50e7f2444927e0e99072c65c4892cd5')
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/BurntSushi
+  cp -a "$srcdir"/xgb-$_commit "$pkgdir"/usr/share/gocode/src/github.com/BurntSushi/xgb
+
+  install -Dm644 xgb-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.BSD
+  install -Dm644 xgb-$_commit/xgbgen/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING.WTFPL
+}



More information about the arch-commits mailing list