mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 09:27:19 +02:00
the two are distinct, url isn't a variable. it could be changed to update to e.g. a documentation site, source url is separate
25 lines
740 B
Text
25 lines
740 B
Text
# Contributor: KikooDX <kikoodx@paranoici.org>
|
|
# Maintainer: KikooDX <kikoodx@paranoici.org>
|
|
pkgname=afetch
|
|
pkgver=2.2.0
|
|
pkgrel=1
|
|
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::https://github.com/13-CF/afetch/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="
|
|
90503f197b454e2edd8d11db3246c57f975b962c639bddc73563c12c5bf63448c4de5b24c550459a3a75cbddb1812a2999363de347c9b970b8eb4d7cd305375c afetch-2.2.0.tar.gz
|
|
"
|