Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id B22F3781E8E for <~alpine/aports@lists.alpinelinux.org>; Sat, 30 May 2020 02:14:36 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3958410EA; Fri, 29 May 2020 22:14:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 29 May 2020 22:14:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=milesalan.com; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=UBwwkK+/pMlc3u9uQSTOecMdXr yZHDSCI7IloZI9NQs=; b=dFKXkSkDKqJQ3yTDnmbtvEPzzjdO9E+yQBb7R7gxSV GGNhvyXTmnSex1envziU7nFkvwrfUaKZD3SviPtENdIBxp2L3PQuTNyoTysTnIL6 b5mmFQRKB7GsEDa7MDz/UIDsPrFscJj5QdUlahUM1GaijbbmoHdUUEsxr0ixu/Tg oY/GpyVOQNgPueZ+wFEHtA7HNa+XFruNv553Hdz4g64aIR8sv6h2pOllRqvW7G+U 2a6FbU6XMVL43CEoIVXotcAnYjLaslGm1SV8764aCQmAdGqeZk7z9lV5U6Wr5b0I 88WRY9fTmwWw/DNEXxUoYmBKQ8wJ8ualyaWJau7zzmzg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=UBwwkK+/pMlc3u9uQ STOecMdXryZHDSCI7IloZI9NQs=; b=rWHkERNrUL6jC9hKtd5I/9pyMasbIY1mg +g12033rLWb1zSFkgf3JSsxLk7XIPVEyfXKBFDt1IR4VnRiCBK6DwBYp6QYJu07O hxSZA8MupyLn8fRefQ+HKS6wnCagG1t7uY4NWAP5KtStFMZA+bqjXeo8FA0QZHwR yqujaLjRbFIgTkvxdvuFhDLm9q1r5ce6gAMbZs9UJIASpQg9acdHF4xwMb7Ja2uf zNLsyCCzyIrk763T/U7yFbZbotZPWYu49djdomNZqHXDIB6RzfoVd0ADZryo/trR 3tqYQ9xUjjiNNkHu9nwwWG9950Emuy2/SPV/Q+V8qjGeEoobNAk5w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvledgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepofhilhgvshcutehlrghnuceomhesmhhilhgvshgrlhgrnhdrtgho mheqnecuggftrfgrthhtvghrnhepueelkeetgeelkeefudetiefggfejvddvhffhkefgue etvdefudejfeelgfegueehnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphep leelrdduvdeirddukedurddvtdenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmh epmhgrihhlfhhrohhmpehmsehmihhlvghsrghlrghnrdgtohhm X-ME-Proxy: Received: from pbp.lan (99-126-181-20.lightspeed.mdsnwi.sbcglobal.net [99.126.181.20]) by mail.messagingengine.com (Postfix) with ESMTPA id 4431F3060FE7; Fri, 29 May 2020 22:14:33 -0400 (EDT) From: Miles Alan To: ~alpine/aports@lists.alpinelinux.org Cc: Miles Alan Subject: [PATCH] testing/lf: new aport Date: Fri, 29 May 2020 21:13:56 -0500 Message-Id: <20200530021355.20187-1-m@milesalan.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://github.com/gokcehan/lf Terminal filemanager written in Go with vim-style keybindings --- testing/lf/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/lf/APKBUILD diff --git a/testing/lf/APKBUILD b/testing/lf/APKBUILD new file mode 100644 index 00000000..f79c70ae --- /dev/null +++ b/testing/lf/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Miles Alan +pkgname=lf +pkgver=14 +pkgrel=0 +pkgdesc="Terminal filemanager written in Go with vim-style keybindings" +url="https://github.com/gokcehan/lf" +arch="all" +license="MIT" +makedepends="go" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/gokcehan/lf/archive/r$pkgver.tar.gz" +builddir="$srcdir/src/github.com/gokcehan/$pkgname" +options="chmod-clean" + +prepare() { + mkdir -p ${builddir%/*} + mv $srcdir/$pkgname-r$pkgver "$builddir"/ + default_prepare + go mod vendor +} + +build() { + go build -v -o bin/$pkgname +} + +check() { + go test +} + +package() { + install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 lf.1 "$pkgdir"/usr/share/man/man1/lf.1 +} + +sha512sums="cd2e268d551a0a83a32563424675455288e09b28d60940143eff4d24cf5b98ad0d7bd9ab100ea5a456e37460c318001ad5b444d252a986e9ddcfff274adf7720 lf-14.tar.gz" -- 2.26.2