[arch-commits] Commit in deepin-gir-generator/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Oct 28 05:12:54 UTC 2016


    Date: Friday, October 28, 2016 @ 05:12:53
  Author: felixonmars
Revision: 193848

upgpkg: deepin-gir-generator 0.9.6-3

update golang bindings path

Modified:
  deepin-gir-generator/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-28 05:09:19 UTC (rev 193847)
+++ PKGBUILD	2016-10-28 05:12:53 UTC (rev 193848)
@@ -5,7 +5,7 @@
 
 pkgname=deepin-gir-generator
 pkgver=0.9.6
-pkgrel=2
+pkgrel=3
 pkgdesc='Generate static golang bindings for GObject'
 arch=('i686' 'x86_64')
 url="https://gitcafe.com/Deepin/go-gir-generator"
@@ -34,4 +34,8 @@
 package() {
   cd go-gir-generator
   make DESTDIR="$pkgdir" install
+
+  mkdir -p "$pkgdir"/usr/lib
+  mv "$pkgdir"/usr/{share/gocode,lib/go}
+  rmdir "$pkgdir"/usr/share
 }



More information about the arch-commits mailing list