summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8367dbf39ee06c0521ed7f511162c80d5b8aef0b (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
# Maintainer: Youngjae Lee <ls4154.lee@gmail.com>
pkgname=dm-zoned-tools
pkgver=2.2.1
pkgrel=1
pkgdesc="User space utility for managing zoned block devices used with the dm-zoned device mapper "
arch=("x86_64")
url="https://github.com/westerndigitalcorporation/dm-zoned-tools"
license=("GPL3")
depends=("glibc" "util-linux-libs" "kmod" "device-mapper")
makedepends=("autoconf" "automake" "libtool" "autoconf-archive")
source=("$pkgname-$pkgver.tar.gz::https://github.com/westerndigitalcorporation/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
md5sums=("754e90a604f52644101bc22074694c5e")

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

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}