summaryrefslogtreecommitdiffstats
path: root/PKGBUILD-zfs.in
blob: 989d8793d1420e6abca9998de5e4ee2a61ef76d8 (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
# Maintainer: Prakash Surya <surya1@llnl.gov>
pkgname=@ZFS_META_NAME@
pkgver=@ZFS_META_VERSION@
pkgrel=@ZFS_META_RELEASE@
pkgdesc="Contains the libzfs library and support utilities for the zfs file system."
arch=(x86_64)
url="git://github.com/zfsonlinux/zfs.git"
license=(@ZFS_META_LICENSE@)
depends=('spl' 'zlib' 'e2fsprogs')
source=(@ZFS_META_NAME@-@ZFS_META_VERSION@.tar.gz)

build() {
	cd $srcdir/@ZFS_META_NAME@-@ZFS_META_VERSION@
	./configure --with-config=user \
	            --prefix=/ \
	            --sysconfdir=/etc \
	            --datadir=/usr/share \
	            --includedir=/usr/include \
	            --with-udevdir=/lib/udev
	make
}

package() {
	cd $srcdir/@ZFS_META_NAME@-@ZFS_META_VERSION@
	make DESTDIR=$pkgdir install
}