summaryrefslogtreecommitdiffstats
path: root/PKGBUILD-spl.in
blob: bc27f4626d1ddc474fc188ef32fbc9aa8839688d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Prakash Surya <surya1@llnl.gov>
pkgname=@SPL_META_NAME@
pkgver=@SPL_META_VERSION@
pkgrel=@SPL_META_RELEASE@
pkgdesc="Contains the support utilities for the spl."
arch=(x86_64)
url="git://github.com/zfsonlinux/spl.git"
license=(@LICENSE@)
source=(@SPL_META_NAME@-@SPL_META_VERSION@.tar.gz)

build() {
	cd $srcdir/@SPL_META_NAME@-@SPL_META_VERSION@
	./configure --with-config=user \
	            --prefix=/usr \
	            --sysconfdir=/etc \
	            --libexecdir=/usr/lib
	make
}

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