aports/testing/afetch/APKBUILD
2021-04-02 21:12:01 +00:00

24 lines
711 B
Plaintext

# Contributor: KikooDX <kikoodx@paranoici.org>
# Maintainer: KikooDX <kikoodx@paranoici.org>
pkgname=afetch
pkgver=2.1.0
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
source="$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/V$pkgver.tar.gz"
build() {
make
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="a5476147b24a3f98f2a0317528ce5c4d6ddf9a8b66cbcd144bf2497b370dabed8be987baf15b7e3eb49c2aeab6af378f9f276884642a55a824aeebd64699e0d1 afetch-2.1.0.tar.gz"