[arch-commits] Commit in golang-github-burntsushi-xgb/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Feb 16 15:45:09 UTC 2019
Date: Saturday, February 16, 2019 @ 15:45:08
Author: felixonmars
Revision: 433507
archrelease: copy trunk to community-any
Added:
golang-github-burntsushi-xgb/repos/community-any/
golang-github-burntsushi-xgb/repos/community-any/PKGBUILD
(from rev 433506, golang-github-burntsushi-xgb/trunk/PKGBUILD)
----------+
PKGBUILD | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Copied: golang-github-burntsushi-xgb/repos/community-any/PKGBUILD (from rev 433506, golang-github-burntsushi-xgb/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-02-16 15:45:08 UTC (rev 433507)
@@ -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