Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 63899781958 for ; Wed, 2 Oct 2019 22:04:12 +0000 (UTC) Received: by mail-pg1-f179.google.com with SMTP id q1so464609pgb.0 for ; Wed, 02 Oct 2019 15:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Qe46FUM881s7cC9PA0aT4Xh94/PyM1bK1QwR8/y9Vhk=; b=ZUYBwRk75jzDjyEMPcMvwN2b/4ZBW0+d+Sjcy+Pp2d3iB8Y8SFUWMb66Q7ydt9GJtO RvB1feyRfmbM3B+KyoOE1/5BnQYCpCTB428O43Ev5WxAa/HJGS4ZJXfEzU9/mgJceyGC GffGA+0aEzm6L01nDIWZjLP2i/4J8I/LAnUeuyKyIhiI5cbS6VjoesXKlnOdMCjarw22 A9voxA3z1HaU1UqEhDAgUN20pJs+yU9aIOSFSHmTOCLUnR+PSfaAlCmmRZEpjc8GyEIH OqZDw0/L+15QoMwwFm5dofJ5f3Uqz78Ldswk6feRX4UI5EgUpAosWQOhKwrQeMyMexgc LjQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Qe46FUM881s7cC9PA0aT4Xh94/PyM1bK1QwR8/y9Vhk=; b=EmWhUyaWTBV/7jphyFA0AqzxTqPC14eQN0Rx+UThtb1awnEWVaM12s1EyGlOs+VaVc 0l/61FpkytibaDRFVz4Oo6SF/KImsFdfJu8FDF0uJHrCWIAuBe1ptet/Gi9TvOOncUQf m1XDeNGJxAz0Ba8nf8Fy8/mF+GE1ZyJ6wpnTk4qWQAWkUP95oEvFhpOOjJhuwNfzSqY+ 8P5V1ycrl6dCaQVKIzLi5CyuTu/BuY7prs4hqbVR7VZF4rg/c7bX9U9/YdhOtTGOMPwj h2e7nEGwBL6DnG7NmOtFqy9u0w7Q9Feh4lbu8ohB0LbWoeI7yZYRv68cu1iK3IAfC2kd EJRg== X-Gm-Message-State: APjAAAXOaUDsW/QeMHLg50FrD2Z7uytJz60Sg5dxPpLAZ8Hv4wP5Tsqf 6GWoZYbuL0MBwlNuKhCzB8JzB3VW5+U= X-Google-Smtp-Source: APXvYqwvjkFeDdSlQcfR8iJ4urGAPjYUmr9Rzz1JLgI8+58BP8ScOU7OdYY02oTGzThGCTEVGkhHPg== X-Received: by 2002:a17:90a:cb07:: with SMTP id z7mr6727491pjt.67.1570053849901; Wed, 02 Oct 2019 15:04:09 -0700 (PDT) Received: from localhost.gateway ([124.180.34.130]) by smtp.gmail.com with ESMTPSA id j128sm458977pfg.51.2019.10.02.15.04.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2019 15:04:09 -0700 (PDT) From: rjwhite2453@gmail.com To: alpine-aports@lists.alpinelinux.org Cc: Robert White Subject: [PATCH] community/fzf: build using go instead of make Date: Thu, 3 Oct 2019 08:03:44 +1000 Message-Id: <20191002220344.2814-1-rjwhite2453@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Robert White This way all architectures are supported. --- community/fzf/APKBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/community/fzf/APKBUILD b/community/fzf/APKBUILD index 92dd89acd1..24c9ce8bd4 100644 --- a/community/fzf/APKBUILD +++ b/community/fzf/APKBUILD @@ -1,3 +1,4 @@ +# Contributor: Robert White # Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=fzf @@ -5,7 +6,7 @@ pkgver=0.18.0 pkgrel=4 pkgdesc="A command-line fuzzy finder" url="https://github.com/junegunn/fzf" -arch="all !s390x !aarch64 !armhf !armv7" +arch="all" license="MIT" makedepends="go glide bash tmux" subpackages=" @@ -36,18 +37,21 @@ prepare() { build() { cd "$builddir" - make + go build } check() { - cd "$builddir" - make test + cd "$builddir" + SHELL=/bin/sh GOOS= go test -v \ + github.com/junegunn/fzf/src \ + github.com/junegunn/fzf/src/algo \ + github.com/junegunn/fzf/src/tui \ + github.com/junegunn/fzf/src/util } package() { cd "$builddir" - make install # Just copies the target binary to $buildir/bin - install -Dm0755 bin/fzf "$pkgdir"/usr/bin/fzf + install -Dm0755 fzf "$pkgdir"/usr/bin/fzf install -D man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1 install -D man/man1/fzf-tmux.1 "$pkgdir"/usr/share/man/man1/fzf-tmux.1 -- 2.22.0