Received: from latitanza.investici.org (latitanza.investici.org [82.94.249.234]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 8D89A780FD5 for <~alpine/aports@lists.alpinelinux.org>; Thu, 18 Mar 2021 10:47:52 +0000 (UTC) Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4F1Nyv5Vzgz8shG; Thu, 18 Mar 2021 10:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; s=stigmate; t=1616064471; bh=Ahcdjxnz7gBNrt6ehB+UX/oLyuJshvN0QEXZxcfvYIg=; h=From:To:Cc:Subject:Date:From; b=Scj4c0DxzQgjJI92ImxEJeeJls126r7Qx7TL+cCbpOOdbZVLVdSvMZgOI+7g/c0pc OmlpKDPaTxVaHOJgUTUC7L8rCGBAv88C8uPyB3OMR+69JrrvPS4StxZTy7fnJjaMcE jOSX885spcGamJpHJ8LbQcCIdRS97u5kJvxO8q0E= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: kikoodx@paranoici.org) by localhost (Postfix) with ESMTPSA id 4F1Nyv3g7Fz8sg3; Thu, 18 Mar 2021 10:47:50 +0000 (UTC) From: KikooDX To: ~alpine/aports@lists.alpinelinux.org Cc: KikooDX Subject: [PATCH v2] testing/afetch: new aport Date: Thu, 18 Mar 2021 10:47:41 +0000 Message-Id: <20210318104741.3792-1-kikoodx@paranoici.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://github.com/13-CF/afetch Fast and simple system info written in C --- This fixes the issues raised in the first patch. testing/afetch/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 testing/afetch/APKBUILD diff --git a/testing/afetch/APKBUILD b/testing/afetch/APKBUILD new file mode 100644 index 0000000000..81c388de9c --- /dev/null +++ b/testing/afetch/APKBUILD @@ -0,0 +1,25 @@ +# Contributor: KikooDX +# Maintainer: KikooDX +pkgname=afetch +pkgver=0_git20210318 +pkgrel=0 +pkgdesc="Fast and simple system info written in C" +url="https://github.com/13-CF/afetch" +arch="all" +license="GPL-3.0-or-later" +subpackages="$pkgname-doc" +options="!check" # there is no test suite +_gitrev=4eb0e27e67782fdbebf1abd472aa0f5c1ea6c365 +source="$pkgname-$_gitrev.tar.gz::https://github.com/13-CF/afetch/archive/$_gitrev.tar.gz" +builddir="$srcdir/$pkgname-$_gitrev" + +build() { + make +} + +package() { + make PREFIX="/usr" DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums="91a23925bbf21ac3d312e5aecf750e3fb111c16058d7c571ac3b8be09c934d21f5af17901531adda007ebb2a3a84b5b2e5b46aa3f6fe6c8d51bdeb3636aba6c0 afetch-4eb0e27e67782fdbebf1abd472aa0f5c1ea6c365.tar.gz" -- 2.30.2