Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 248037810C5 for ; Sat, 2 Jul 2022 02:46:02 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salkield.uk; s=key1; t=1656729384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=yQb4aLCnEP3jaC0jwWc+XRGwO3RlQE8v8hw3Hmh3cIY=; b=DPgFJAXdH2hTrgtcHeefe64g4LhU5MfYCji5gY22VKq3ch09q3Nm0p2LSE6gTAtBv8usxz jYiPxobw6rz92ZSFzNWVVFCxnHgUt5vAFq2P+Dv1TXSGX8DEzNKfDBu3tf3z6vrhD6yKCE A3VWrRlsSy16QHfPioxD4gmTzyDf4iI= From: Edd Salkield To: alpine-aports@lists.alpinelinux.org Cc: Edd Salkield Subject: [PATCH] testing/khinsider: new aport Date: Sat, 2 Jul 2022 03:35:56 +0100 Message-Id: <20220702023555.10949-1-edd@salkield.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: salkield.uk https://github.com/marcus-crane/khinsider A khinsider downloader written in Go --- testing/khinsider/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/khinsider/APKBUILD diff --git a/testing/khinsider/APKBUILD b/testing/khinsider/APKBUILD new file mode 100644 index 0000000000..1cbb7b4106 --- /dev/null +++ b/testing/khinsider/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Edd Salkield +# Maintainer: Edd Salkield +pkgname=khinsider +pkgver=2.0.6 +pkgrel=0 +pkgdesc="A khinsider downloader written in Go" +url="https://github.com/marcus-crane/khinsider" +arch="all" +license="MIT" +makedepends="go" +source="https://github.com/marcus-crane/khinsider/archive/v$pkgver/khinsider-v$pkgver.tar.gz" +builddir="$srcdir/khinsider-$pkgver" +options="!check net" # No upstream tests + +prepare() { + default_prepare + go mod download +} + +build() { + go build +} + +package() { + install -Dm755 "$builddir"/khinsider "$pkgdir"/usr/bin/khinsider +} + +sha512sums=" +af8bfe3d17d07d8fd51caa01fc7b397be953cc801433905fbf37c4b2b44d8a90bfea388452081f57733dbfbd054e891e5bfe0bc7eca3a82026725a5b5ee0d0cb khinsider-v2.0.6.tar.gz +" -- 2.36.1