aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3blocks/APKBUILD
blob: e6c48452fd1cd61e1a0dae9cacd5600eb49c971b (plain) (blame)
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
27
28
29
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=i3blocks
pkgver=1.4
pkgrel=0
pkgdesc="A minimalist scheduler for your status line scripts"
url="https://github.com/vivien/i3blocks"
arch="all"
license="GPL-3.0-or-later"
options="!check" # no test suite
makedepends="ronn"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/vivien/i3blocks/archive/$pkgver.tar.gz
	fix-musl.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

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

sha512sums="f04fd68d59097b21bc88f3097dff137de656dd3fa696d9c04b987ba25136e5e5d9cacb63998e8635fe55fcf94f47900aec8c79d98e1d1d8847856a89ad9a6578  i3blocks-1.4.tar.gz
ea4e76637d3112f4529558e04bb93007297678360052be4a28932e9389afe98f538a09008f92fcf0a68312c1c60ac5ad0687f467555ebccc4ac833c489856017  fix-musl.patch"