Received: from latitanza.investici.org (latitanza.investici.org [82.94.249.234]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 51FD8781057 for ; Tue, 16 Mar 2021 10:11:46 +0000 (UTC) Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4F08GB32ZDz8vCc; Tue, 16 Mar 2021 10:11:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; s=stigmate; t=1615889506; bh=7CSLMFJd2dgdLGvI40J4ciDofm1yZY4K/Wd2gJD0d8g=; h=From:To:Cc:Subject:Date:From; b=WcI4RHtEuSdm3yACgClxhiiHQuZ7t42OpMBjmv8Eh377XZivWavCbYxFKqXS95I53 gKhHZzbpwxcLCOwTEfjT/5eggq4Ym4q4NSOzMbqVrdVl2rYYtqvhbnd2ksmJCsiZoO svMasZnJ5F/yRvgqkoNd3VC9FQghuA08xefojOJo= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: kikoodx@paranoici.org) by localhost (Postfix) with ESMTPSA id 4F08GB0L5gz8sxf; Tue, 16 Mar 2021 10:11:45 +0000 (UTC) From: KikooDX To: alpine-aports@lists.alpinelinux.org Cc: KikooDX Subject: [PATCH] testing/afetch: new aport Date: Tue, 16 Mar 2021 10:11:43 +0000 Message-Id: <20210316101143.11241-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 --- testing/afetch/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/afetch/APKBUILD diff --git a/testing/afetch/APKBUILD b/testing/afetch/APKBUILD new file mode 100644 index 0000000000..8ec0b03fc6 --- /dev/null +++ b/testing/afetch/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: KikooDX +# Maintainer: KikooDX +pkgname=afetch +pkgver=1_git20210212 +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" +makedepends="gcc make" +subpackages="$pkgname-doc" +options="!check" # there is no test suite +_gitrev=4c5e32ec86d9d7e41b3561e3b7e27dcca07c26d6 +source="$pkgname-$_gitrev.tar.gz::https://github.com/13-CF/afetch/archive/$_gitrev.tar.gz" +builddir="$srcdir/$pkgname-$_gitrev" + +build() { + make +} + +package() { + mkdir -p "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/man/man1" + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + make PREFIX="/usr" DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums="3b58986dedef3a59cd69526d1816fed7a15a4e832061539888069d38f14751427b9d5eb9eb2587eb8aea56728d1194d82c32945d8414d56095cfe99f3fa2acc3 afetch-4c5e32ec86d9d7e41b3561e3b7e27dcca07c26d6.tar.gz" -- 2.30.2