aboutsummaryrefslogtreecommitdiffstats
path: root/community/btop/APKBUILD
blob: 45ad08bcfdee2b7ae829071e2bcf315724378d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=btop
pkgver=1.3.2
pkgrel=1
pkgdesc="Resource monitor"
url="https://github.com/aristocratos/btop"
license="Apache-2.0"
arch="all"
makedepends="cmd:fmt"
source="https://github.com/aristocratos/btop/archive/v$pkgver/btop-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	ADDFLAGS="-fno-ipa-cp" make
}

package() {
	make install DESTDIR="$pkgdir" PREFIX=/usr

	rm "$pkgdir"/usr/share/btop/README.md
}

sha512sums="
9bbe983aa1336566f78396b829d49c22fe709e4e3d959dabc7524b61defba2638f3b0c50658f755fd1f02dd70572c78cc3cfc8b01772e174d0f34a48e4e178b2  btop-1.3.2.tar.gz
"