[arch-commits] Commit in (yaegi yaegi/repos yaegi/trunk yaegi/trunk/PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat Dec 7 19:45:30 UTC 2019
Date: Saturday, December 7, 2019 @ 19:45:29
Author: shibumi
Revision: 536298
add yaegi to community
Added:
yaegi/
yaegi/repos/
yaegi/trunk/
yaegi/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Added: yaegi/trunk/PKGBUILD
===================================================================
--- yaegi/trunk/PKGBUILD (rev 0)
+++ yaegi/trunk/PKGBUILD 2019-12-07 19:45:29 UTC (rev 536298)
@@ -0,0 +1,24 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: navigaid <navigaid at gmail.com>
+pkgname=yaegi
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='Yet another Elegant Go Interpreter'
+arch=('x86_64')
+url='https://github.com/containous/yaegi'
+license=('Apache')
+makedepends=('go-pie')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz")
+sha512sums=('5be7bc27af6e37e092f76d8d770ba415ec0241eccd39328cc21aa20eb078e8621ac23b7bd2b48c93f285d3e43dffa43fabaf697593439bbaf9aab813011b97cf')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ go build -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/yaegi
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 yaegi "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list