aboutsummaryrefslogtreecommitdiffstats
path: root/main/bcache-tools/APKBUILD
blob: cf49d146d4223b9a29db789df94b8dd8c6f66579 (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
# Maintainer:
pkgname=bcache-tools
pkgver=1.0.8
pkgrel=2
pkgdesc="tools for managing bcache"
url="https://bcache.evilpiepirate.org/"
arch="all"
license="GPL-2.0-only"
makedepends="eudev-dev util-linux-dev linux-headers coreutils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/g2p/bcache-tools/archive/v$pkgver.tar.gz
	gcc5.patch
	"

build() {
	cd "$builddir"
	make
}

package() {
	mkdir -p "$pkgdir"/usr/sbin
	mkdir -p "$pkgdir"/usr/share/man/man8
	mkdir -p "$pkgdir"/lib/udev/rules.d

	make DESTDIR="$pkgdir" install
}

sha512sums="21eaed457e5de623089c0d4e1c11394a3950f29c749c502bfd5dd94d3dcdc7379c4a910825e33bf9fc8080df656949b94a1a28d19048a8eb6422976cb391b7dc  bcache-tools-1.0.8.tar.gz
16928c4d78c00f8be73c3bfb4ccc63d1e3eeabcc2da87569f51c240ba018b2dd6b5d6b828601192e8b59cd82b4931b57318f7f0e2f9af169f41cc7b779ce26ab  gcc5.patch"