summaryrefslogtreecommitdiffstats
path: root/PKGBUILD-zfs.in
blob: e37a251e7893a9a193355b4d01a851c65f6f5ce6 (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
# 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 \
	            --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
}