~alpine/aports

testing/afetch: new aport v1 SUPERSEDED

KikooDX: 1
 testing/afetch: new aport

 1 files changed, 29 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3466/mbox | git am -3
Learn more about email & git

[PATCH] testing/afetch: new aport Export this patch

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 <kikoodx@paranoici.org>
# Maintainer: KikooDX <kikoodx@paranoici.org>
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