X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail.toastin.space (mail.toastin.space [207.246.93.162]) by lists.alpinelinux.org (Postfix) with ESMTP id D3C195C595F for ; Sun, 11 Nov 2018 05:39:51 +0000 (GMT) Received: from mail.toastin.space (localhost [127.0.0.1]) by mail.toastin.space (OpenSMTPD) with ESMTP id f8481b1c for ; Sun, 11 Nov 2018 00:39:51 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=toastin.space; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=ml; bh=Zegfbqzo2Sz7XlF9eri+82iTdNc=; b=MVpP9wPnCUDizI3Wo3ojgr OnifqRf+RnDF6EWMs8v6Qpy9ZmrFi2UArsP7v3R5WsWUpghhhyFH2OYPW7GznuCf BjAUqLbxbcQ/e0MqMAgkV52v6oeU0zOBoaGnQpbFHxhM5nppT728EAyI2rBTsEpc /8/LVsixeuUyiCtAxNwuXo4QRbhSkzx/a83HWgjRwl9rHaYoYP5L9re3NolvyrrQ la2YUDxjHLbsxcv7zaCgIn0pwAtHqEny1AIAWlR4n8XhMQh2lGDEh2W5Xob4PXXe CvxpKN4lGb8Qp3TZsXSTQcTHgY4ZKch0BwsMzVu9lXcdEQj4+rIPyEhtqEbAMkAA == DomainKey-Signature: a=rsa-sha1; c=nofws; d=toastin.space; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; q=dns; s=ml; b=AfX+z4ApfxHw3+pydCBNxqS128Jx+QiWsdiAG2zOKAnH1G50 UG08uc3cS7FlgZstqW5oWmgLRqBZiFl1DOExfB4wIlMZ8g2kbK+hAXI3qf3RlCRz OlXYYg4LBaCBybKc3BgaWavYuVnXcuDtdCPdyynRTqq62NKRAAUeT3C+0xv4Zl6W GqyW6ajjIR8vQXm774wu1eDdna58SwcpyvdVHK/8F3dyPUiXVL00t94fzFo+L+YJ mBeg2mE0XKnGM4o4O9676lnZNgerWJUpbeLjroD+bAt2ilyRNlA4v8BRlQc8cS45 2o/J1reYgwEn+fHj/BRheJjkeNZ9+qryGMup6Q== Received: from LapToast.home.toastin.space (192-222-169-215.qc.cable.ebox.net [192.222.169.215]) by mail.toastin.space (OpenSMTPD) with ESMTPSA id dd406ae1 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 11 Nov 2018 00:39:51 -0500 (EST) From: Chloe Kudryavtsev To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/fd: new aport Date: Sun, 11 Nov 2018 00:39:50 -0500 Message-Id: <20181111053950.27889-1-toast@toastin.space> X-Mailer: git-send-email 2.19.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit fd is a fast (to use) and convenient find.1 alternative, implementing a subset of the functionality for faster access. --- testing/fd/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/fd/APKBUILD diff --git a/testing/fd/APKBUILD b/testing/fd/APKBUILD new file mode 100644 index 0000000000..e7d65dac1a --- /dev/null +++ b/testing/fd/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Chloe Kudryavtsev +# Maintainer: Chloe Kudryavtsev +pkgname=fd +pkgver=7.2.0 +pkgrel=0 +pkgdesc="A simple, fast and user-friendly alternative to 'find'" +url="https://github.com/sharkdp/fd" +arch="all" +license="MIT" +depends="" +makedepends="cargo" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + export CARGO_HOME="$srcdir"/cargo + export RUSTFLAGS="-C target-feature=-crt-static" + cargo build \ + --release \ + --verbose +} + +check() { + cd "$builddir" + export CARGO_HOME="$srcdir"/cargo + export RUSTFLAGS="-C target-feature=-crt-static" + cargo test --all \ + --release \ + --verbose +} + +package() { + cd "$builddir" + install -m755 -D target/release/fd "$pkgdir/usr/bin/$pkgname" + install -m644 -D doc/fd.1 "$pkgdir/usr/share/man/man1/$pkgname.1" +} + +sha512sums="22823904e4a1645a6f248501e507cad6ef08341ac69d0e9675571a202fa2316fe6c85b274fc958676da6a8e26399b26bdb78fdca876146b0e91b4780948d8ca2 fd-7.2.0.tar.gz" -- 2.19.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---