summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a856c088a4556d97f2ea6e887449b7a16c8ebac (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
27
28
29
# Maintainer: tomwei7 <tomwei7g@gmail.com>
pkgname=zonefs-tools
pkgver=1.5.0
pkgrel=1
pkgdesc="This project provides the mkzonefs command line utility which allows formatting zoned block devices for use withe the zonefs file system."
arch=("x86_64")
url="https://github.com/damien-lemoal/zonefs-tools"
license=("GPL")
changelog=$pkgname.changelog
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/damien-lemoal/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
md5sums=("75c00e15d263122486342d96ee38b487")
depends=("glibc" "util-linux-libs")

build() {
	cd "$pkgname-$pkgver"
    ./autogen.sh && ./configure --prefix=/usr
    make -j$(nproc)
}

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
    mv $pkgdir/usr/sbin $pkgdir/usr/bin
}