summaryrefslogtreecommitdiffstats
path: root/PKGBUILD-zfs.in
blob: 6e7dcb6916f2629111d905ca4bef2c640cacb36d (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
# 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')
backup=('etc/zfs/zdev.conf')
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 \
	            --libexecdir=/usr/libexec \
	            --datadir=/usr/share \
	            --includedir=/usr/include \
	            --with-udevdir=/lib/udev
	make
}

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