Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=dbc1aa8b30ed90ae9fb7c30ee37e255a03078811

commit dbc1aa8b30ed90ae9fb7c30ee37e255a03078811
Author: DeX77 <[email protected]>
Date:   Tue Aug 1 10:24:15 2017 +0200

micro-1.3.0-1-x86_64

* version bump

diff --git a/source/apps-extra/micro/FrugalBuild 
b/source/apps-extra/micro/FrugalBuild
index c5088fe..0ab0379 100644
--- a/source/apps-extra/micro/FrugalBuild
+++ b/source/apps-extra/micro/FrugalBuild
@@ -2,34 +2,39 @@
# Maintainer: DeX77 <[email protected]>

pkgname=micro
-pkgver=1.2.0
-pkgextraver=5dc8fe4
+pkgver=1.3.0
+pkgextraver=fad95c0
pkgrel=1
pkgdesc="A modern and intuitive terminal-based text editor"
groups=('apps-extra')
license=('MIT')
-archs=('i686' 'x86_64')
+archs=('x86_64')
depends=('glibc')
makedepends+=('go' 'git')
_F_github_author="zyedidia"
_F_github_tag_v=y
Finclude github
-sha1sums=('21ee6a986ca05ae53e7ab313fdaefa89bf225947')
-_F_cd_path="$pkgname-$pkgver"
+source=("https://github.com/zyedidia/micro/releases/download/v${pkgver}/micro-$pkgver-src.tar.gz";)
+sha1sums=('e86794af791032092662d43e5ec2fc79e91e74d2')
+_F_cd_path="src/github.com/zyedidia/micro"

build() {
-       Fcd
+       Fexec rm -rf src/github.com/zyedidia/
+        Fexec mkdir -p src/github.com/zyedidia/
+        Fexec mv "${pkgname}" src/github.com/zyedidia/micro
+
+        Fcd
+
+        export GOPATH="$Fsrcdir"
+        export PATH=$PATH:$GOROOT/bin
+

Fsed 'VERSION = $(shell go run tools/build-version.go)' "VERSION = $pkgver" 
Makefile
Fsed 'HASH = $(shell git rev-parse --short HEAD)' "HASH = $pkgextraver" Makefile

-        export GOPATH="$(pwd)"
-        export GOBIN=$GOPATH/bin
-       Fexec make deps || Fdie
-
-       Fbuild
+       Fexec make build-quick || Fdie

-       Fexerel bin/micro usr/bin/micro
+       Fexerel micro usr/bin/micro
}

_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to