summaryrefslogtreecommitdiffstats
path: root/PKGBUILD-zfs-modules.in
blob: 29a94aee7871a28b7c19f4542ad6c393b0330696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Prakash Surya <surya1@llnl.gov>
pkgname=@ZFS_META_NAME@-modules
pkgver=@ZFS_META_VERSION@
pkgrel=@ZFS_META_RELEASE@
pkgdesc="Contains kernel modules and support utilities for the zfs file system."
arch=(x86_64)
url="git://github.com/zfsonlinux/zfs.git"
license=(@ZFS_META_LICENSE@)
depends=('spl-modules')
source=(@ZFS_META_NAME@-@ZFS_META_VERSION@.tar.gz)

build() {
	cd $srcdir/@ZFS_META_NAME@-@ZFS_META_VERSION@
	./configure --with-config=kernel
	make
}

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